diff --git a/src/libraries/Router.php b/src/libraries/Router.php index dedad01..1231a88 100644 --- a/src/libraries/Router.php +++ b/src/libraries/Router.php @@ -212,6 +212,10 @@ public function getRequestURI() { return $this->requestURI; } + public function getRoutes() { + return clone (object) $this->routes; + } + public function route() { $path = $this->getRequestPathString(true); $target = null;