public setHostname (mixed $hostname) Set a hostname restriction for all the routes in the group
public getRoutes () Returns the routes added to the group
public getPrefix () Returns the common prefix for all the routes
public getPaths () Returns the common paths defined for this group
public getHostname () Returns the hostname restriction
public getBeforeMatch () Returns the ‘before match’ callback if any
public clear () Removes all the pre-defined routes
public beforeMatch (mixed $beforeMatch) Sets a callback that is called if the route is matched. The developer can implement any arbitrary conditions here If the callback returns false the route is treated as not matched
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
public Phalcon\Mvc\Router\Route addPost (string $pattern, [string/array $paths]) Adds a route to the router that only match if the HTTP method is POST
Page 79 of 382