Module
This class allows to access services in the services container by just only accessing a public property with the same name of a registered service
- Full name: \Zemit\Mvc\Dispatcher\Module
- Parent class: \Zemit\Di\Injectable
Methods
beforeForward
public beforeForward(\Phalcon\Events\Event $event, \Phalcon\Dispatcher\DispatcherInterface $dispatcher, array $forward): void
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $event | \Phalcon\Events\Event | |
| $dispatcher | \Phalcon\Dispatcher\DispatcherInterface | |
| $forward | array |