eZ\Publish\Core\REST\Server\Controller\Location::loadLocationByRemoteId PHP Method

loadLocationByRemoteId() public method

Loads a location by remote ID.
public loadLocationByRemoteId ( Request $request ) : LocationList
$request Symfony\Component\HttpFoundation\Request
return eZ\Publish\Core\REST\Server\Values\LocationList
    public function loadLocationByRemoteId(Request $request)
    {
        return new Values\LocationList(array(new Values\RestLocation($location = $this->locationService->loadLocationByRemoteId($request->query->get('remoteId')), $this->locationService->getLocationChildCount($location))), $request->getPathInfo());
    }