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)); }