original_string: public function mapContent(VersionInfo $versionInfo, $languageCode)
      {
          $contentInfo = $versionInfo->contentInfo;
  
          return new Content(
              [
                  'id' => $contentInfo->id,
                  'mainLocationId' => $contentInfo->mainLocationId,
                  'name' => $versionInfo->getName($languageCode),
                  'languageCode' => $languageCode,
                  'innerVersionInfo' => $versionInfo,
                  'site' => $this->site,
                  'domainObjectMapper' => $this,
                  'repository' => $this->repository,
              ]
          );
      }
code: public function mapContent(VersionInfo $versionInfo, $languageCode)
      {
          $contentInfo = $versionInfo->contentInfo;
  
          return new Content(
              [
                  'id' => $contentInfo->id,
                  'mainLocationId' => $contentInfo->mainLocationId,
                  'name' => $versionInfo->getName($languageCode),
                  'languageCode' => $languageCode,
                  'innerVersionInfo' => $versionInfo,
                  'site' => $this->site,
                  'domainObjectMapper' => $this,
                  'repository' => $this->repository,
              ]
          );
      }
code_tokens: public function mapContent ( VersionInfo $ versionInfo , $ languageCode ) { $ contentInfo = $ versionInfo -> contentInfo ; return new Content ( [ 'id' => $ contentInfo -> id , 'mainLocationId' => $ contentInfo -> mainLocationId , 'name' => $ versionInfo -> getName ( $ languageCode ) , 'languageCode' => $ languageCode , 'innerVersionInfo' => $ versionInfo , 'site' => $ this -> site , 'domainObjectMapper' => $ this , 'repository' => $ this -> repository , ] ) ; }
docstring: Maps Repository Content to the Site Content.
  
  @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
  @param string $languageCode
  
  @return \Netgen\EzPlatformSiteApi\Core\Site\Values\Content
docstring_tokens: Maps Repository Content to the Site Content .