parent
88cde2c91d
commit
318bb36072
|
@ -330,6 +330,18 @@ public static function put($route, $action)
|
||||||
Router::register('PUT', $route, $action);
|
Router::register('PUT', $route, $action);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register a PATCH route with the router.
|
||||||
|
*
|
||||||
|
* @param string|array $route
|
||||||
|
* @param mixed $action
|
||||||
|
* @return void
|
||||||
|
*/
|
||||||
|
public static function patch($route, $action)
|
||||||
|
{
|
||||||
|
Router::register('PATCH', $route, $action);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register a DELETE route with the router.
|
* Register a DELETE route with the router.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue