public function root(): string
    {
        $scheme = $this->getScheme(null);
        $domain = \trim($this->domain(true), '/');
        $prefix = $this->prefix(true);

        return \trim("{$scheme}{$domain}/{$prefix}", '/');
    }