mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-06-17 08:47:52 +00:00
Add function to fetch currect processing route
This commit is contained in:
@@ -939,6 +939,16 @@ class Router
|
|||||||
{
|
{
|
||||||
return $this->debugList;
|
return $this->debugList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the current processing route details.
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
public function getCurrentProcessingRoute(): array
|
||||||
|
{
|
||||||
|
return $this->currentProcessingRoute;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Changes the rendering behavior of the router.
|
* Changes the rendering behavior of the router.
|
||||||
|
|||||||
Reference in New Issue
Block a user