We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Router events

Does Router has events?



98.9k
Accepted
answer

No, it does not have events.



530
edited Jun '18

phalcon version3

router:beforeCheckRoutes
router:beforeCheckRoute
router:matchedRoute
router:notMatchedRoute

https://github.com/phalcon/cphalcon/blob/master/phalcon/mvc/router.zep