/** * @return \Symfony\Component\HttpFoundation\Response */ private function sendRequest() { $request = Request::createFromGlobals(); return $this->adapter->send($request, '/'); }
/** * @return \Symfony\Component\HttpFoundation\Response */ private function sendRequest() { $request = Request::create('http://localhost', 'GET'); return $this->adapter->send($request, 'http://www.example.com'); }
/** * @return \Symfony\Component\HttpFoundation\Response */ private function sendRequest() { $request = Request::createFromGlobals(); return $this->adapter->send($request, 'http://www.example.com'); }
/** * @return Response */ private function sendRequest() { $request = new Request('http://localhost', 'GET'); return $this->adapter->send($request); }