public function mapLocation(APILocation $location, VersionInfo $versionInfo, $languageCode)
    {
        return new Location(
            [
                'innerLocation' => $location,
                'languageCode' => $languageCode,
                'innerVersionInfo' => $versionInfo,
                'site' => $this->site,
                'domainObjectMapper' => $this,
            ]
        );
    }
public function mapLocation(APILocation $location, VersionInfo $versionInfo, $languageCode)
    {
        return new Location(
            [
                'innerLocation' => $location,
                'languageCode' => $languageCode,
                'innerVersionInfo' => $versionInfo,
                'site' => $this->site,
                'domainObjectMapper' => $this,
            ]
        );
    }
public function mapLocation ( APILocation $ location , VersionInfo $ versionInfo , $ languageCode ) { return new Location ( [ 'innerLocation' => $ location , 'languageCode' => $ languageCode , 'innerVersionInfo' => $ versionInfo , 'site' => $ this -> site , 'domainObjectMapper' => $ this , ] ) ; }
Maps Repository Location to the Site Location.

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

@return \Netgen\EzPlatformSiteApi\API\Values\Location
Maps Repository Location to the Site Location .