Cml\Route::any PHP Méthode

any() public static méthode

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