lib/ExternalUriGenerator/UriCollection.php
public function add($name, UriInterface $uri)
    {
        unset($this->uris[$name]);

        $this->uris[$name] = $uri;
    }
public function add($name, UriInterface $uri)
    {
        unset($this->uris[$name]);

        $this->uris[$name] = $uri;
    }
Adds a uri.

@param string $name The uri name
@param UriInterface    $uri  A Uri instance

@api