Cml\Service\Route::patch PHP Method

patch() public method

增加patch访问方式路由
public patch ( string $pattern, string | array $action )
$pattern string 路由规则
$action string | array 执行的操作
    public function patch($pattern, $action)
    {
        self::$rules[self::REQUEST_METHOD_PATCH . self::patternFactory($pattern)] = $action;
        return $this;
    }