protected detectBaseUri ( ) : void | ||
return | void |
protected function detectBaseUri()
{
if ($this->baseUri === null) {
$this->baseUri = clone $this->uri;
$this->baseUri->setQuery(null);
$this->baseUri->setFragment(null);
$this->baseUri->setPath($this->getScriptRequestPath());
}
}