Esempio n. 1
0
 /**
  * Sets the request for which the response is intended
  *
  * @access public
  * @param Interfaces\Request $request The request object
  * @return void
  */
 public function setRequest(Interfaces\Request $request)
 {
     $this->request = $request;
     $this->url = $request->getURL();
     $this->lang = $request->getBestAcceptLanguage();
     $this->method = $request->getMethod();
 }