is() публичный статический Метод

To check the request Method
public static is ( string $method = "POST" )
$method string
Пример #1
0
 /**
  * Bool if the request method is a GET
  * @return bool
  */
 public function isGet()
 {
     return Http\Request::is("GET");
 }