Bramus\Router\Router::delete PHP Method

delete() public method

Shorthand for a route accessed using DELETE
public delete ( string $pattern, object | callable $fn )
$pattern string A route pattern such as /about/system
$fn object | callable The handling function to be executed
    public function delete($pattern, $fn)
    {
        $this->match('DELETE', $pattern, $fn);
    }