Cli\Router\Route::extractNamedParams

public array | boolean extractNamedParams (string $pattern) Extracts parameters from a string

Cli\Router\Route::beforeMatch

public Phalcon\Cli\Router\Route beforeMatch (callback $callback) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched

Cli\Router\Route::delimiter

public static delimiter ([mixed $delimiter]) Set the routing delimiter

Cli\Router\Route::compilePattern

public compilePattern (mixed $pattern) Replaces placeholders from pattern returning a valid PCRE regular expression

Cli\Router\Route::getBeforeMatch

public mixed getBeforeMatch () Returns the ‘before match’ callback if any

Cli\Router\Route::getCompiledPattern

public getCompiledPattern () Returns the route’s compiled pattern

Cli\Router\Route::DEFAULT_DELIMITER

string DEFAULT_DELIMITER

Cli\RouterInterface::wasMatched

abstract public wasMatched () ...

Cli\Router\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\RouterInterface::setDefaultTask

abstract public setDefaultTask (mixed $taskName) ...