public function ChainRouteCollection::addDefaults in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/ChainRouteCollection.php \Symfony\Cmf\Component\Routing\ChainRouteCollection::addDefaults()
Adds defaults to all routes.
An existing default value under the same name in a route will be overridden.
Parameters
array $defaults An array of default values:
Overrides RouteCollection::addDefaults
File
- vendor/
symfony-cmf/ routing/ ChainRouteCollection.php, line 175
Class
Namespace
Symfony\Cmf\Component\RoutingCode
public function addDefaults(array $defaults) {
$this
->createInternalCollection();
foreach ($this->routeCollections as $routeCollection) {
$routeCollection
->addDefaults($defaults);
}
}