onQueue(QueueName::JOB->value); $this->fileId = $file->getId(); $this->storagePath = $file->getPath(); logger("FILE削除JOB登録:" . $this->storagePath); } /** * Execute the job. * * @return void */ public function handle() { if (Storage::exists($this->storagePath)) { Storage::delete($this->storagePath); info(sprintf("ファイル削除:%s ", $this->storagePath)); } } }