Cml\Route::group PHP 메소드

group() 공개 정적인 메소드

分组路由
public static group ( string $namespace, callable $func )
$namespace string 分组名
$func callable 闭包
    public static function group($namespace, callable $func)
    {
        Cml::getContainer()->make('cml_route')->group($namespace, $func);
    }