public function getPathInfo()
    {
        if ($this->_pathInfo === null) {
            $this->_pathInfo = $this->resolvePathInfo();
        }

        return $this->_pathInfo;
    }
public function getPathInfo()
    {
        if ($this->_pathInfo === null) {
            $this->_pathInfo = $this->resolvePathInfo();
        }

        return $this->_pathInfo;
    }
Returns the path info of the currently requested URL.
A path info refers to the part that is after the entry script and before the question mark (query string).
The starting and ending slashes are both removed.
@return string part of the request URL that is after the entry script and before the question mark.
Note, the returned path info is already URL-decoded.
@throws InvalidConfigException if the path info cannot be determined due to unexpected server configuration