beforeDispatch()
beforeDispatch(\Phalcon\Events\Event $event, \Phalcon\Mvc\Dispatcher $dispatcher)
Listens for the 'beforeDispatch' event and checks the input data and headers to see if the request is for inbound mail processing.
Based on priority, this will always run BEFORE the key check ACL check.
Will return output and exit program execution on error
Parameters
\Phalcon\Events\Event | $event | |
\Phalcon\Mvc\Dispatcher | $dispatcher |