file_path = $file_path; $this->disk = $disk; } /** * Execute the job. * * @return void */ public function handle() { /* Do not delete files if we are on the sync queue*/ if (config('queue.default') == 'sync') { return; } Storage::disk($this->disk)->delete($this->file_path); } }