public static function is($method = "POST") { return strtolower(self::getMethod()) === strtolower($method); }
/** * Bool if the request method is a GET * @return bool */ public function isGet() { return Http\Request::is("GET"); }