diff options
| author | winter | 2025-01-01 17:41:22 +0000 |
|---|---|---|
| committer | winter | 2025-01-01 17:41:22 +0000 |
| commit | 02a6acd4cfddaecd9075b706fdbdc0396d76d8c3 (patch) | |
| tree | 8b18236ba74c260774350a330798aaaced215882 /Digitigrade/Router.php | |
| parent | 4cd7017da9a37e5b9f38c3f50dd1c904ea41cbcb (diff) | |
stuff
Diffstat (limited to 'Digitigrade/Router.php')
| -rw-r--r-- | Digitigrade/Router.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Digitigrade/Router.php b/Digitigrade/Router.php index e8bea48..0682b76 100644 --- a/Digitigrade/Router.php +++ b/Digitigrade/Router.php @@ -14,6 +14,10 @@ class Router extends Singleton { $this->routes = []; } + public function getCurrentPath(): string { + return $this->requestPath; + } + /** * Processes and sends a response to the current request * @return void |
