beforeDispatch()
beforeDispatch(\Phalcon\Events\Event $event, \Phalcon\Mvc\Dispatcher $dispatcher)
Listens for the 'beforeDispatch' event and checks action against the ACL. Based on priority, this will always run AFTER the key check
Will return output and exit program execution on error
Parameters
\Phalcon\Events\Event | $event | |
\Phalcon\Mvc\Dispatcher | $dispatcher |