Cml\Route::put PHP Method

put() public static method

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