Nette\Http\UrlScript::getBasePath PHP Метод

getBasePath() публичный Метод

Returns the base-path.
public getBasePath ( ) : string
Результат string
    public function getBasePath()
    {
        $pos = strrpos($this->getScriptPath(), '/');
        return $pos === FALSE ? '' : substr($this->getPath(), 0, $pos + 1);
    }