public function delete($pattern, $callback = null, $inject = null)
    {
        return $this->map([ 'DELETE' ], $pattern, $callback, $inject);
    }
public function delete($pattern, $callback = null, $inject = null)
    {
        return $this->map([ 'DELETE' ], $pattern, $callback, $inject);
    }
public function delete ( $ pattern , $ callback = null , $ inject = null ) { return $ this -> map ( [ 'DELETE' ] , $ pattern , $ callback , $ inject ) ; }
Adds a new route for the HTTP request method `DELETE`

@param string $pattern the route to match, e.g. `/users/jane`
@param callable|null $callback (optional) the callback to execute, e.g. an anonymous function
@param array|null $inject (optional) any arguments that should be prepended to those matched in the route
@return bool whether the route matched the current request
Adds a new route for the HTTP request method DELETE