Mvc\Router\Group::addGet

public Phalcon\Mvc\Router\Route addGet (string $pattern, [string/array $paths]) Adds a route to the router that only match if the HTTP method is GET

Mvc\Router\Group::addDelete

public Phalcon\Mvc\Router\Route addDelete (string $pattern, [string/array $paths]) Adds a route to the router that only match if the HTTP method is DELETE

Mvc\Router\Group::addOptions

public Phalcon\Mvc\Router\Route addOptions (string $pattern, [string/array $paths]) Add a route to the router that only match if the HTTP method is OPTIONS

Mvc\Router\Group::addPatch

public Phalcon\Mvc\Router\Route addPatch (string $pattern, [string/array $paths]) Adds a route to the router that only match if the HTTP method is PATCH

Mvc\Router\Group::addPut

public Phalcon\Mvc\Router\Route addPut (string $pattern, [string/array $paths]) Adds a route to the router that only match if the HTTP method is PUT

Mvc\Router\Group

implements Phalcon\Mvc\Router\GroupInterface Source on GitHub Helper class to create a group of routes with common attributes $router = new \Phalcon\Mvc\Router(); //Create a group with a common module and controller $blog = new Group(array( 'module' => 'blog', 'controller' => 'index' )); //All the routes start with /blog $blog->setPrefix('/blog'); //Add a route to the group $blog->add('/save', array( 'action' => 'save' )); //Add another route to the group

Mvc\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

Mvc\Router\Annotations::URI_SOURCE_GET_URL

integer URI_SOURCE_GET_URL

Mvc\Router\Group::add

public add (mixed $pattern, [mixed $paths], [mixed $httpMethods]) Adds a route to the router on any HTTP method router->add('/about', 'About::index');

Mvc\Router\Annotations::URI_SOURCE_SERVER_REQUEST_URI

integer URI_SOURCE_SERVER_REQUEST_URI