This commit is contained in:
2023-08-17 16:08:33 +08:00
parent 424a44b18a
commit 0e0bd39a39
7 changed files with 8 additions and 0 deletions
+1
View File
@@ -36,6 +36,7 @@ class Get extends AbstractRequestMethod implements InjectRouteInterface
{
// TODO: Implement dispatch() method.
$path = '/' . ltrim($this->path, '/');
var_dump($path);
Router::addRoute(RequestMethod::REQUEST_GET, $path, [$class, $method]);
if ($this->enableOption) {