I’m building a funcionality in CakePHP 3 which I need to find out in the end of the load which template will be rendered.
Either if the action is changing the template to be rendered via
I think the best place to find it out is on
afterFilter event or in the component’s
shutdown event, but if there is any other way I would be glad to hear it =D
The goal that i’m looking for is to get an result like: “Template/Pages/home.ctp”
Is there any native cake way to do it?
Thank you very much