public function setUploadFolder($folder)
    {
        $this->uploadPath  = $this->basePath . $folder . '/' . $this->getUniqueFolderName() . '/';
        $this->destination = $this->publicPath ? public_path($this->uploadPath) : $this->uploadPath;
    }
public function setUploadFolder($folder)
    {
        $this->uploadPath  = $this->basePath . $folder . '/' . $this->getUniqueFolderName() . '/';
        $this->destination = $this->publicPath ? public_path($this->uploadPath) : $this->uploadPath;
    }
public function setUploadFolder ( $ folder ) { $ this -> uploadPath = $ this -> basePath . $ folder . '/' . $ this -> getUniqueFolderName ( ) . '/' ; $ this -> destination = $ this -> publicPath ? public_path ( $ this -> uploadPath ) : $ this -> uploadPath ; }
Set upload folder.

@param $folder
Set upload folder .