Cli\Router::getMatchedRoute

public getMatchedRoute () Returns the route that matches the handled URI

Cli\Router::getDI

public getDI () Returns the internal dependency injector

Cli\Router::getActionName

public getActionName () Returns processed action name

Cli\Router::add

public Phalcon\Cli\Router\Route add (string $pattern, [string/array $paths]) Adds a route to the router $router->add('/about', 'About::main');

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\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::setTaskSuffix

abstract public setTaskSuffix (mixed $taskSuffix) ...

Cli\DispatcherInterface::setTaskName

abstract public setTaskName (mixed $taskName) ...

Cli\DispatcherInterface::setDefaultTask

abstract public setDefaultTask (mixed $taskName) ...

Cli\DispatcherInterface::getTaskName

abstract public getTaskName () ...