Phalcon provides event-driven architecture (Phalcon\Events\Manager) where you can attach listeners and hooks to various stages of request processing (beforeAction, afterRender, etc.). Use these to implement cross-cutting concerns and extend framework functionality.
Leave a Reply