lib/ExternalUriGenerator/UriCollection.php
public function setScheme($scheme)
    {
        foreach ($this->uris as $name => $uri) {
            $this->add($name, $uri->withScheme($scheme));
        }
    }
public function setScheme($scheme)
    {
        foreach ($this->uris as $name => $uri) {
            $this->add($name, $uri->withScheme($scheme));
        }
    }
Set the scheme all child uris use.

@param string $scheme The scheme