Exemple #1
0
 /**
  * Create request object using $_GET and $_POST
  *
  * @return Request
  */
 public static function createFromGlobals()
 {
     return new self($_GET, $_POST, Server::getHeaders(), Server::getRequestMethod());
 }