public function handle(Filesystem $filesystem)
    {
        try {
            if ($filesystem->delete($this->attachment->getStorageFilePath())) {
                return $this->attachment->delete();
            }
        } catch (FileNotFoundException $e) {
            //
        }

        return false;
    }
public function handle(Filesystem $filesystem)
    {
        try {
            if ($filesystem->delete($this->attachment->getStorageFilePath())) {
                return $this->attachment->delete();
            }
        } catch (FileNotFoundException $e) {
            //
        }

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

@param Filesystem $filesystem

@throws \Exception

@return bool
Deletes the current attachment as well as the file .