Source on GitHub
This class represents every route added to the router
Constants
string DEFAULT_DELIMITER
Methods
public __construct (string $pattern, [array $paths])
Phalcon\Cli\Router\Route constructor
public compilePattern (mixed $pattern)
Replaces placeholders from pattern returning a valid PCRE regular expression
public array | boolean extractNamedParams (string $pattern)
Extracts parameters from a string
public reConfigure (string $pattern, [array $paths])
Reconfigure the route adding a