protected function buildPath()
    {
        $this->basename = $this->filename;

        if (!empty($this->extension)) {
            $this->basename .= '.' . $this->extension;
        }

        $this->path = $this->dirname;

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

        return $this;
    }
protected function buildPath()
    {
        $this->basename = $this->filename;

        if (!empty($this->extension)) {
            $this->basename .= '.' . $this->extension;
        }

        $this->path = $this->dirname;

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

        return $this;
    }
protected function buildPath ( ) { $ this -> basename = $ this -> filename ; if ( ! empty ( $ this -> extension ) ) { $ this -> basename .= '.' . $ this -> extension ; } $ this -> path = $ this -> dirname ; if ( ! empty ( $ this -> basename ) ) { $ this -> path .= '/' . $ this -> basename ; } return $ this ; }
Rebuild the path using the path components

@return Uri
Rebuild the path using the path components