public function refreshPath()
	{
		$this->path = $this->filterPath(implode('/', $this->segments));

		$this->segments = explode('/', $this->path);

		return $this;
	}
public function refreshPath()
	{
		$this->path = $this->filterPath(implode('/', $this->segments));

		$this->segments = explode('/', $this->path);

		return $this;
	}
public function refreshPath ( ) { $ this -> path = $ this -> filterPath ( implode ( '/' , $ this -> segments ) ) ; $ this -> segments = explode ( '/' , $ this -> path ) ; return $ this ; }
Sets the path portion of the URI based on segments.

@param string $path

@return $this
Sets the path portion of the URI based on segments .