Mvc\Router\RouteInterface
Interface Phalcon\Mvc\Router\RouteInterface
Phalcon\Mvc\Router\RouteInterface initializer
Methods
abstract public string compilePattern (string $pattern)
Replaces placeholders from pattern returning a valid PCRE regular expression
abstract public via (string|array $httpMethods)
Set one or more HTTP methods that constraint the matching of the route
abstract public reConfigure (string $pattern, [array $paths])
Reconfigure the route adding a new pattern and a set of paths
abstract public string getName ()
Returns the route’s name