public function ChainRouterInterface::add in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/ChainRouterInterface.php \Symfony\Cmf\Component\Routing\ChainRouterInterface::add()
Add a Router to the index.
Parameters
RouterInterface $router The router instance. Instead of RouterInterface, may also: be RequestMatcherInterface and UrlGeneratorInterface.
integer $priority The priority:
1 method overrides ChainRouterInterface::add()
- ChainRouter::add in vendor/
symfony-cmf/ routing/ ChainRouter.php - Add a Router to the index.
File
- vendor/
symfony-cmf/ routing/ ChainRouterInterface.php, line 31
Class
- ChainRouterInterface
- Interface for a router that proxies routing to other routers.
Namespace
Symfony\Cmf\Component\RoutingCode
public function add($router, $priority = 0);