Nette\Http\UrlScript::getScriptPath PHP Method

getScriptPath() public method

Returns the script-path part of URI.
public getScriptPath ( ) : string
return string
    public function getScriptPath()
    {
        return $this->scriptPath ?: $this->path;
    }