Example #1
0
 /**
  * Factory method for chainability.
  *
  * Example:
  *
  *     return Response::create($body, 200)
  *         ->setSharedMaxAge(300);
  *
  * @param mixed $content The response content, see setContent()
  * @param int   $status  The response status code
  * @param array $headers An array of response headers
  *
  * @return Response
  */
 public static function create($content = "", $status = 200, $headers = array())
 {
     return Symfony\Component\HttpFoundation\Response::create($content, $status, $headers);
 }