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
{