public function ChainRouteCollection::setSchemes in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/ChainRouteCollection.php \Symfony\Cmf\Component\Routing\ChainRouteCollection::setSchemes()
Sets the schemes (e.g. 'https') all child routes are restricted to.
Parameters
string|array $schemes The scheme or an array of schemes:
Overrides RouteCollection::setSchemes
File
- vendor/
symfony-cmf/ routing/ ChainRouteCollection.php, line 218
Class
Namespace
Symfony\Cmf\Component\RoutingCode
public function setSchemes($schemes) {
$this
->createInternalCollection();
foreach ($this->routeCollections as $routeCollection) {
$routeCollection
->setSchemes($schemes);
}
}