Cli\Router::getModuleName

public getModuleName () Returns proccesed module name

Cli\Router::getParams

public array getParams () Returns processed extra params

Cli\Router::getDI

public getDI () Returns the internal dependency injector

Cli\Router

implements Phalcon\Di\InjectionAwareInterface Source on GitHub Phalcon\Cli\Router is the standard framework router. Routing is the process of taking a command-line arguments and decomposing it into parameters to determine which module, task, and action of that task should receive the request $router = new \Phalcon\Cli\Router(); $router->handle(array( 'module' => 'main', 'task' => 'videos', 'action' => 'process' )); echo $router->getTaskName(); Methods public __constr

Cli\Router::getMatches

public array getMatches () Returns the sub expressions in the regular expression matched

Cli\DispatcherInterface::getActiveTask

abstract public getActiveTask () ...

Cli\DispatcherInterface::getTaskName

abstract public getTaskName () ...

Cli\Dispatcher\Exception

extends class Phalcon\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 Exception code fin

Cli\DispatcherInterface::setDefaultTask

abstract public setDefaultTask (mixed $taskName) ...

Cli\DispatcherInterface::setTaskSuffix

abstract public setTaskSuffix (mixed $taskSuffix) ...