ManaPHP\Mvc\Router\Group::addDelete PHP 메소드

addDelete() 공개 메소드

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
리턴 ManaPHP\Mvc\Router\RouteInterface
    public function addDelete($pattern, $paths = null)
    {
        return $this->_addRoute($pattern, $paths, 'DELETE');
    }