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
+2
View File
@@ -33,6 +33,8 @@ class Route extends AbstractRequestMethod implements InjectRouteInterface
// TODO: Implement dispatch() method.
$path = '/' . ltrim($this->path, '/');
var_dump($path);
Router::addRoute([$this->method], $path, [$class, $method]);
}
}