public function upload($targetDirectory = null) {
		$helper = new FileUpload();

		if ($targetDirectory !== null) {
			$helper->withTargetDirectory($this->getStoragePath($targetDirectory));
		}

		return $helper;
	}
public function upload($targetDirectory = null) {
		$helper = new FileUpload();

		if ($targetDirectory !== null) {
			$helper->withTargetDirectory($this->getStoragePath($targetDirectory));
		}

		return $helper;
	}
public function upload ( $ targetDirectory = null ) { $ helper = new FileUpload ( ) ; if ( $ targetDirectory !== null ) { $ helper -> withTargetDirectory ( $ this -> getStoragePath ( $ targetDirectory ) ) ; } return $ helper ; }
Returns a new helper for convenient file uploads

@param string $targetDirectory (optional) the target directory within the `storage` folder
@return FileUpload the helper instance
Returns a new helper for convenient file uploads