/** * @param EveApiReadInterface $data * * @return \Guzzle\Http\Message\EntityEnclosingRequestInterface * @throws \LogicException */ protected function prepareConnection(EveApiReadInterface $data) { $uri = ['/{EveApiSectionName}/{EveApiName}.xml.aspx', ['EveApiSectionName' => $data->getEveApiSectionName(), 'EveApiName' => $data->getEveApiName()]]; $client = $this->getClient(); return $client->post($uri, null, $data->getEveApiArguments()); }