diff options
Diffstat (limited to 'Digitigrade')
| -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 |
