Camelize
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\Camelize
- Parent class: \Zemit\Di\Injectable
Methods
beforeDispatchLoop
Automagically camelize the action name
public beforeDispatchLoop(\Phalcon\Events\Event $event, \Phalcon\Dispatcher\AbstractDispatcher $dispatcher): void
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| $event | \Phalcon\Events\Event | |
| $dispatcher | \Phalcon\Dispatcher\AbstractDispatcher |