ManaPHP\Mvc\Router\Group::addDelete PHP Méthode

addDelete() public méthode

Adds a route to the router that only match if the HTTP method is DELETE
public addDelete ( string $pattern, string | array $paths = null ) : ManaPHP\Mvc\Router\RouteInterface
$pattern string
$paths string | array
Résultat ManaPHP\Mvc\Router\RouteInterface
    public function addDelete($pattern, $paths = null)
    {
        return $this->_addRoute($pattern, $paths, 'DELETE');
    }