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