public function createFromName(string $name, ...$args) : string
    {
        $route = $this->routeCollection->getNamedRoute($name);

        if ($route === null) {
            return '';
        }

        return $this->generateHost($route, $args) . $this->generatePath($route, $args);
    }