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()
        );
    }
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()
        );
    }
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 ( ) ) ; }
Loads a location by remote ID.

@todo remove, or use in loadLocation with filter

@return \eZ\Publish\Core\REST\Server\Values\LocationList
Loads a location by remote ID .