original_string: public function mapContentInfo(VersionInfo $versionInfo, $languageCode)
      {
          $contentInfo = $versionInfo->contentInfo;
          $contentType = $this->contentTypeService->loadContentType($contentInfo->contentTypeId);
  
          return new ContentInfo(
              [
                  'name' => $versionInfo->getName($languageCode),
                  'languageCode' => $languageCode,
                  'contentTypeIdentifier' => $contentType->identifier,
                  'contentTypeName' => $this->getTranslatedString($languageCode, (array)$contentType->getNames()),
                  'contentTypeDescription' => $this->getTranslatedString($languageCode, (array)$contentType->getDescriptions()),
                  'innerContentInfo' => $versionInfo->contentInfo,
                  'innerContentType' => $contentType,
                  'site' => $this->site,
              ]
          );
      }
code: public function mapContentInfo(VersionInfo $versionInfo, $languageCode)
      {
          $contentInfo = $versionInfo->contentInfo;
          $contentType = $this->contentTypeService->loadContentType($contentInfo->contentTypeId);
  
          return new ContentInfo(
              [
                  'name' => $versionInfo->getName($languageCode),
                  'languageCode' => $languageCode,
                  'contentTypeIdentifier' => $contentType->identifier,
                  'contentTypeName' => $this->getTranslatedString($languageCode, (array)$contentType->getNames()),
                  'contentTypeDescription' => $this->getTranslatedString($languageCode, (array)$contentType->getDescriptions()),
                  'innerContentInfo' => $versionInfo->contentInfo,
                  'innerContentType' => $contentType,
                  'site' => $this->site,
              ]
          );
      }
code_tokens: public function mapContentInfo ( VersionInfo $ versionInfo , $ languageCode ) { $ contentInfo = $ versionInfo -> contentInfo ; $ contentType = $ this -> contentTypeService -> loadContentType ( $ contentInfo -> contentTypeId ) ; return new ContentInfo ( [ 'name' => $ versionInfo -> getName ( $ languageCode ) , 'languageCode' => $ languageCode , 'contentTypeIdentifier' => $ contentType -> identifier , 'contentTypeName' => $ this -> getTranslatedString ( $ languageCode , ( array ) $ contentType -> getNames ( ) ) , 'contentTypeDescription' => $ this -> getTranslatedString ( $ languageCode , ( array ) $ contentType -> getDescriptions ( ) ) , 'innerContentInfo' => $ versionInfo -> contentInfo , 'innerContentType' => $ contentType , 'site' => $ this -> site , ] ) ; }
docstring: Maps Repository ContentInfo to the Site ContentInfo.
  
  @param \eZ\Publish\API\Repository\Values\Content\VersionInfo $versionInfo
  @param string $languageCode
  
  @return \Netgen\EzPlatformSiteApi\API\Values\ContentInfo
docstring_tokens: Maps Repository ContentInfo to the Site ContentInfo .