Cml\Route::post PHP Method

post() public static method

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