beforeDispatch()
beforeDispatch(\Phalcon\Events\Event $event, \Phalcon\Mvc\Dispatcher $dispatcher)
Listens for the 'beforeDispatch' event and checks the key headers.
Will return output and exit program execution on error
Parameters
\Phalcon\Events\Event | $event | |
\Phalcon\Mvc\Dispatcher | $dispatcher |