- I have created a function in the bootstrap to do the routing.
- Once a route has been selected I would like to know which one it is.
Ideally I would like to be able to get that information in the bootstrap too, let’s say I have a 1st function _initRouting() which decides of the routing and then later in the bootstrap a 2nd function _whichRoute() which would tell me which route was selected.
Thanks.
From docs:
So in your bootstrap you will probably need to get the request object and use the above or use a controller plugin