Example #1
0
 /**
  * Returns the HTTP request (creating if not configured)
  *
  * @return Request
  */
 public function getRequest()
 {
     if ($this->request === null) {
         $this->request = Request::createFromGlobals();
     }
     return $this->request;
 }