Cml\Service\FastRoute::delete PHP Method

delete() public method

增加delete访问方式路由
public delete ( string $pattern, string | array $action )
$pattern string 路由规则
$action string | array 执行的操作
    public function delete($pattern, $action)
    {
        $this->addRoute('DELETE', $pattern, $action);
        return $this;
    }