eZ\Publish\Core\REST\Client\LocationService::loadLocationByRemoteId PHP Метод

loadLocationByRemoteId() публичный Метод

Loads a location object from its $remoteId.
public loadLocationByRemoteId ( string $remoteId ) : eZ\Publish\API\Repository\Values\Content\Location
$remoteId string
Результат eZ\Publish\API\Repository\Values\Content\Location
    public function loadLocationByRemoteId($remoteId)
    {
        $response = $this->client->request('GET', $this->requestParser->generate('locationByRemote', array('location' => $remoteId)), new Message(array('Accept' => $this->outputVisitor->getMediaType('LocationList'))));
        return reset($this->inputDispatcher->parse($response));
    }