public function mapNode(APILocation $location, APIContent $content, $languageCode)
    {
        return new Node(
            [
                'contentInfo' => $this->mapContentInfo($content->versionInfo, $languageCode),
                'innerLocation' => $location,
                'content' => $this->mapContent($content->versionInfo, $languageCode),
                'site' => $this->site,
            ]
        );
    }
public function mapNode(APILocation $location, APIContent $content, $languageCode)
    {
        return new Node(
            [
                'contentInfo' => $this->mapContentInfo($content->versionInfo, $languageCode),
                'innerLocation' => $location,
                'content' => $this->mapContent($content->versionInfo, $languageCode),
                'site' => $this->site,
            ]
        );
    }
public function mapNode ( APILocation $ location , APIContent $ content , $ languageCode ) { return new Node ( [ 'contentInfo' => $ this -> mapContentInfo ( $ content -> versionInfo , $ languageCode ) , 'innerLocation' => $ location , 'content' => $ this -> mapContent ( $ content -> versionInfo , $ languageCode ) , 'site' => $ this -> site , ] ) ; }
Maps Repository Content and Location to the Site Node.

@param \eZ\Publish\API\Repository\Values\Content\Location $location
@param \eZ\Publish\API\Repository\Values\Content\Content $content
@param string $languageCode

@return \Netgen\EzPlatformSiteApi\Core\Site\Values\Node
Maps Repository Content and Location to the Site Node .