路由 POST 请求 $path 到 $handler
@param string $path
@param callable $handler
@return RouterInterface
978476
public function post($path, callable $handler): RouterInterface
    {
        $ruler = $this->createRuler('POST', $path);
        return $this->addRuler($ruler, $handler);
    }
640138
public function delete(string $path, $handler)
  {
    return $this->request($path, Request::HTTP_DELETE, $handler);
  }
1200980
public function options($path, $handler, $info = null)
    {
        $this->addRoute(["OPTIONS"], null, $path, $handler, $info);
    }
862202
public function add($path, $handler)
    {
        $route             = new Route($path, $handler);
        $this->routes[]    = $route;
        $this->nameCache   = [];
        $this->routeParser = new RouteParser;

        return $route;
    }
201371
public function all($pattern, $handler)
    {

        return $this->addRoute(
            new Route([Method::GET, Method::POST], $pattern, $handler)
        );
    }
1178414
public Blade before(@NonNull String path, @NonNull RouteHandler handler) {
        this.routeMatcher.addRoute(path, handler, HttpMethod.BEFORE);
        return this;
    }
560396
public function map($route, $handler)
    {
        $this->_routes[] = ['/'.$route, $handler];

        if ($handler) {
            $this->_handlers[$handler][] = '/'.$route;
        }
    }
1080854
public function get($path, callable $handler): RouterInterface
    {
        $ruler = $this->createRuler('GET', $path);
        return $this->addRuler($ruler, $handler);
    }
1008364
public static function any(string $path, $handler) : array
    {
        return [
            static::get($path, $handler),
            static::post($path, $handler),
            static::put($path, $handler),
            static::patch($path, $handler),
            static::delete($path, $handler),
        ];
    }
173326
public static function options($path, $handlerMethod = null)
    {
        return self::factory($path, HttpMethods::OPTIONS, $handlerMethod);
    }
91122
public function delete($path, $handler, $info = null)
    {
        $this->addRoute(["DELETE"], null, $path, $handler, $info);
    }
1063420
public function post($path, $handler, $info = null)
    {
        $this->addRoute(["POST"], null, $path, $handler, $info);
    }
541752
public function stackRoute(?string $method, string $path, $handlers)
    {
        return $this->stack(
            $this->createRoute($method, $path, $handlers)
        );
    }
954232
public function head($path, callable $handler): RouterInterface
    {
        $ruler = $this->createRuler('HEAD', $path);
        return $this->addRuler($ruler, $handler);
    }
250305
public function patch(string $pattern, $handler): Route
    {
        return $this->map($pattern, $handler)->method('PATCH');
    }
951034
public function delete($route, $handler)
    {
        return $this->addRoute(new Route($this->router, ['DELETE'], $route, $handler, $this->name));
    }
352234
public function patch($path, $handler, $info = null)
    {
        $this->addRoute(["PATCH"], null, $path, $handler, $info);
    }