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