Skip to content

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

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