Mvc\Router\Route
Class Phalcon\Mvc\Router\Route
implements Phalcon\Mvc\Router\RouteInterface
This class represents every route added to the router
Methods
public __construct (string $pattern, [array $paths], [array|string $httpMethods])
Phalcon\Mvc\Router\Route constructor
public string compilePattern (string $pattern)
Replaces placeholders from pattern returning a valid PCRE regular expression
public Phalcon\Mvc\Router\Route via (string|array $httpMethods)
Set one or more H