public function getPathInfo()
    {
        if (null === $this->pathInfo) {
            $this->pathInfo = $this->preparePathInfo();
        }

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

        return $this->pathInfo;
    }
public function getPathInfo ( ) { if ( null === $ this -> pathInfo ) { $ this -> pathInfo = $ this -> preparePathInfo ( ) ; } return $ this -> pathInfo ; }
Returns the path being requested relative to the executed script.

The path info always starts with a /.

Suppose this request is instantiated from /mysite on localhost:

* http://localhost/mysite              returns an empty string
* http://localhost/mysite/about        returns '/about'
* http://localhost/mysite/enco%20ded   returns '/enco%20ded'
* http://localhost/mysite/about?var=1  returns '/about'

@return string The raw path (i.e. not urldecoded)
Returns the path being requested relative to the executed script .