public function RouteCollection::__clone in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/RouteCollection.php \Symfony\Component\Routing\RouteCollection::__clone()
1 method overrides RouteCollection::__clone()
- ChainRouteCollection::__clone in vendor/
symfony-cmf/ routing/ ChainRouteCollection.php
File
- vendor/
symfony/ routing/ RouteCollection.php, line 38
Class
- RouteCollection
- A RouteCollection represents a set of Route instances.
Namespace
Symfony\Component\RoutingCode
public function __clone() {
foreach ($this->routes as $name => $route) {
$this->routes[$name] = clone $route;
}
}