public function next() { if (empty($this->systems)) { return false; } $system = array_pop($this->systems); $request = RequestFactory::getRequest(new Uri($system['url']), 'GET', 'php://memory', ['Accept-Encoding' => 'gzip', 'Connection' => 'keep-alive']); $responses = $this->client->sendRequests(array($request)); return $responses[0]; }