make(HttpMethod::Get, $path, $handler); } public function post(string $path, callable $handler): RouteDefinition { return $this->make(HttpMethod::Post, $path, $handler); } public function put(string $path, callable $handler): RouteDefinition { return $this->make(HttpMethod::Put, $path, $handler); } public function patch(string $path, callable $handler): RouteDefinition { return $this->make(HttpMethod::Patch, $path, $handler); } public function delete(string $path, callable $handler): RouteDefinition { return $this->make(HttpMethod::Delete, $path, $handler); } public function any(string $path, callable $handler): RouteDefinition { return $this->make(HttpMethod::Any, $path, $handler); } }