public function ChainRouteCollection::add in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/ChainRouteCollection.php \Symfony\Cmf\Component\Routing\ChainRouteCollection::add()
Adds a route.
Parameters
string $name The route name:
Route $route A Route instance:
Overrides RouteCollection::add
File
- vendor/
symfony-cmf/ routing/ ChainRouteCollection.php, line 72
Class
Namespace
Symfony\Cmf\Component\RoutingCode
public function add($name, Route $route) {
$this
->createInternalCollection();
$this->routeCollection
->add($name, $route);
}