Exemplo n.º 1
0
 /**
  * @return \Symfony\Component\HttpFoundation\Response
  */
 private function sendRequest()
 {
     $request = Request::createFromGlobals();
     return $this->adapter->send($request, '/');
 }
Exemplo n.º 2
0
 /**
  * @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');
 }
Exemplo n.º 4
0
 /**
  * @return Response
  */
 private function sendRequest()
 {
     $request = new Request('http://localhost', 'GET');
     return $this->adapter->send($request);
 }