public getMatch () Returns the ‘match’ callback if any
public getHttpMethods () Returns the HTTP methods that constraint matching the route
public static getRoutePaths ([mixed $paths]) Returns routePaths
public compilePattern (mixed $pattern) Replaces placeholders from pattern returning a valid PCRE regular expression
public beforeMatch (mixed $callback) Sets a callback that is called if the route is matched. The developer can implement
public setHttpMethods (mixed $httpMethods) Sets a set of HTTP methods that constraint the matching of the route (alias
public convert (mixed $name, mixed $converter) Adds a converter to perform an additional transformation for
public match (mixed $callback) Allows to set a callback to handle the request directly in the route
public extractNamedParams (mixed $pattern) Extracts parameters from a string
public static reset () Resets the internal route id generator
Page 2 of 3