lib/ExternalUriGenerator/UriCollection.php
public function setHost($host)
    {
        foreach ($this->uris as $name => $uri) {
            $this->add($name, $uri->withHost($host));
        }
    }
public function setHost($host)
    {
        foreach ($this->uris as $name => $uri) {
            $this->add($name, $uri->withHost($host));
        }
    }
public function setHost ( $ host ) { foreach ( $ this -> uris as $ name => $ uri ) { $ this -> add ( $ name , $ uri -> withHost ( $ host ) ) ; } }
Sets the host pattern on all uris.

@param string $host The pattern
Sets the host pattern on all uris .