getResponse() public method

Return a response object
public getResponse ( ) : Response
return Symfony\Component\HttpFoundation\Response The response object
Example #1
0
 /**
  * Return a response object
  *
  * @param bool $blnCheckRequest If true, check for unsued $_GET parameters
  *
  * @return Response The response object
  */
 public function getResponse($blnCheckRequest = false)
 {
     $this->compile($blnCheckRequest);
     return parent::getResponse();
 }
Example #2
0
 /**
  * Return a response object
  *
  * @param bool $blnCheckRequest If true, check for unsued $_GET parameters
  *
  * @return Response The response object
  */
 public function getResponse($blnCheckRequest = false)
 {
     $this->blnCheckRequest = $blnCheckRequest;
     return $this->setCacheHeaders(parent::getResponse());
 }