From 02a6acd4cfddaecd9075b706fdbdc0396d76d8c3 Mon Sep 17 00:00:00 2001 From: winter Date: Wed, 1 Jan 2025 17:41:22 +0000 Subject: stuff --- Digitigrade/Router.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Digitigrade') 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 -- cgit v1.3