Symfony\Component\Routing\RouteCollection::setSchemes
Sets the schemes (e.g. 'https') all child routes are restricted to.
Signature
public function setSchemes(string|array
$schemes )
Parameters
$schemes
— object- The scheme or an array of schemes