Cml\Route::delete PHP Method

delete() public static method

增加delete访问方式路由
public static delete ( string $pattern, string | array $action ) : void
$pattern string 路由规则
$action string | array 执行的操作
return void
    public static function delete($pattern, $action)
    {
        Cml::getContainer()->make('cml_route')->delete($pattern, $action);
    }