public function parse($uri)
    {
        parent::parse($uri);

        if (empty($this->path)) {
            $this->path = '/';
        }

        return $this;
    }
public function parse($uri)
    {
        parent::parse($uri);

        if (empty($this->path)) {
            $this->path = '/';
        }

        return $this;
    }
public function parse ( $ uri ) { parent :: parse ( $ uri ) ; if ( empty ( $ this -> path ) ) { $ this -> path = '/' ; } return $ this ; }
Parse a URI string

@param  string $uri
@return Http
Parse a URI string