Event Listeners
Herbie is implementing a simple event dispatcher according to the PSR-14 specification. During the application lifecycle the following events are dispatched.
Name | Description |
---|---|
ContentRenderedEvent | Triggered after content was rendered |
LayoutRenderedEvent | Triggered after layout was rendered |
PluginsInitializedEvent | Triggered after plugins where initialized |
ResponseGeneratedEvent | Triggered after HTTP Response was generated |
ResponseEmittedEvent | Triggered after HTTP Response was emitted |
RenderLayoutEvent | Triggered when layout is rendered |
RenderPageEvent | Triggered when page is rendered |
RenderSegmentEvent | Triggered when segment is rendered |
TranslatorInitializedEvent | Triggered after translator was initialized |
TwigInitializedEvent | Triggered after twig was initialized |