Mvc\Router\RouteInterface::getCompiledPattern

abstract public getCompiledPattern () ...

Mvc\Router\RouteInterface::compilePattern

abstract public compilePattern (mixed $pattern) ...

Mvc\Router\RouteInterface

Source on GitHub Methods abstract public setHostname (mixed $hostname) ... abstract public getHostname () ... abstract public compilePattern (mixed $pattern) ... abstract public via (mixed $httpMethods) ... abstract public reConfigure (mixed $pattern, [mixed $paths]) ... abstract public getName () ... abstract public setName (mixed $name) ... abstract public setHttpMethods (mixed $httpMethods) ... abstract public getRouteId () ... abstract public getPattern () ... abstract public getCompiledPat

Mvc\Router\Route::via

public via (mixed $httpMethods) Set one or more HTTP methods that constraint the matching of the route $route->via('GET'); $route->via(array('GET', 'POST'));

Mvc\Router\Route::setName

public setName (mixed $name) Sets the route’s name $router->add('/about', array( 'controller' => 'about' ))->setName('about');

Mvc\Router\Route::setHttpMethods

public setHttpMethods (mixed $httpMethods) Sets a set of HTTP methods that constraint the matching of the route (alias of via) $route->setHttpMethods('GET'); $route->setHttpMethods(array('GET', 'POST'));

Mvc\Router\Route::setHostname

public setHostname (mixed $hostname) Sets a hostname restriction to the route $route->setHostname('localhost');

Mvc\Router\Route::setGroup

public setGroup (Phalcon\Mvc\Router\GroupInterface $group) Sets the group associated with the route

Mvc\Router\Route::reset

public static reset () Resets the internal route id generator

Mvc\Router\Route::reConfigure

public reConfigure (mixed $pattern, [mixed $paths]) Reconfigure the route adding a new pattern and a set of paths