lib/ExternalUriGenerator/ExternalUriGenerator.php
public function generate($name, $parameters = [])
    {
        $uri = $this->uris->get($name);
        $uri->setParameters($parameters);

        return (string) $uri;
    }
public function generate($name, $parameters = [])
    {
        $uri = $this->uris->get($name);
        $uri->setParameters($parameters);

        return (string) $uri;
    }
@param string $name
@param array  $parameters

@return string