Cli\Dispatcher::getActiveTask

public getActiveTask () Returns the active task in the dispatcher

Cli\Dispatcher::EXCEPTION_NO_DI

integer EXCEPTION_NO_DI

Cli\Dispatcher::EXCEPTION_INVALID_PARAMS

integer EXCEPTION_INVALID_PARAMS

Cli\Dispatcher::EXCEPTION_INVALID_HANDLER

integer EXCEPTION_INVALID_HANDLER

Cli\Dispatcher::EXCEPTION_HANDLER_NOT_FOUND

integer EXCEPTION_HANDLER_NOT_FOUND

Cli\Dispatcher::EXCEPTION_CYCLIC_ROUTING

integer EXCEPTION_CYCLIC_ROUTING

Cli\Dispatcher::EXCEPTION_ACTION_NOT_FOUND

integer EXCEPTION_ACTION_NOT_FOUND

Cli\Dispatcher::callActionMethod

public callActionMethod (mixed $handler, mixed $actionMethod, [array $params]) ...

Cli\Dispatcher

extends abstract class Phalcon\Dispatcher implements Phalcon\Events\EventsAwareInterface, Phalcon\Di\InjectionAwareInterface, Phalcon\DispatcherInterface, Phalcon\Cli\DispatcherInterface Source on GitHub Dispatching is the process of taking the command-line arguments, extracting the module name, task name, action name, and optional parameters contained in it, and then instantiating a task and calling an action on it. $di = new \Phalcon\Di(); $dispatcher = new \Phalcon\Cli\Dispatcher(); $dis

Cli\Console\Exception

extends class Phalcon\Application\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Except