SingleActionRouter
class SingleActionRouter extends Router (View source)
Class SingleActionRouter
Methods
addRoute(string|Route $name, string $pattern = null, array $variables = array(), array $method = array(), array $options = array())
Add Route
from Router
string
build(string $name, array $queries = array(), bool $rootSlash = false)
buildRoute
from Router
array
getVariables()
getRequests
setVariables(array $variables)
setRequests
Details
at line line 34
__construct(array $routes = array(), MatcherInterface $matcher = null)
Class init.
Route
addRoute(string|Route $name, string $pattern = null, array $variables = array(), array $method = array(), array $options = array())
Add Route
at line line 76
Route|boolean
match(string $route, string $method = 'GET', array $options = array())
parseRoute
string
build(string $name, array $queries = array(), bool $rootSlash = false)
buildRoute
MatcherInterface
getMatcher()
Method to get property Matcher
Router
setMatcher(MatcherInterface $matcher)
Method to set property matcher
at line line 101
array
getVariables()
getRequests
at line line 113
SingleActionRouter
setVariables(array $variables)
setRequests