StaticViewListener
extends BaseListener
in package
StaticViewListener watches dispatcher actions.
It will only run on the FIRST loop and checks to see if the current route is cached. If it is, forwards to the static view loader.
Table of Contents
- beforeExecuteRoute() : mixed
- Watch beforeExecuteRoute event
Methods
beforeExecuteRoute()
Watch beforeExecuteRoute event
public
beforeExecuteRoute(Event $event, Dispatcher $dispatcher) : mixed
Parameters
- $event : Event
- $dispatcher : Dispatcher