class Router implements RouterInterface, RequestMatcherInterface
The Router class is an example of the integration of all pieces of the routing system for easier use.
Methods
__construct(LoaderInterface $loader, mixed $resource, array $options = array(), RequestContext $context = null, LoggerInterface $logger = null) Constructor.
setOptions(array $options) Sets options.
setOption(string $key, mixed $value) Sets an option.
mixed getOption(string $key) Gets an option value.