Add function to fetch currect processing route

This commit is contained in:
Hannes
2022-01-02 21:59:39 +01:00
committed by GitHub
parent b5e42dbdfb
commit a1d5f38af7

View File

@@ -939,6 +939,16 @@ class Router
{
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.