convertToSegments example

return $baseURL;
    }

    /** * Sets basePathWithoutIndexPage and baseSegments. */
    private function setBasePath(): void
    {
        $this->basePathWithoutIndexPage = $this->baseURL->getPath();

        $this->baseSegments = $this->convertToSegments($this->basePathWithoutIndexPage);

        if ($this->indexPage) {
            $this->baseSegments[] = $this->indexPage;
        }
    }

    /** * @deprecated */
    public function setBaseURL(string $baseURL): void
    {
        
Home | Imprint | This part of the site doesn't use cookies.