/** * Deletes the current attachment as well as the file. * * @param Filesystem $filesystem * * @throws \Exception * * @return bool */ public function handle(Filesystem $filesystem) { try { if ($filesystem->delete($this->attachment->getStorageFilePath())) { return $this->attachment->delete(); } } catch (FileNotFoundException $e) { // } return false; }