public function afterDelete()
    {
        try {
            $this->deleteThumbs();
            $this->deleteFile();
        }
        catch (Exception $ex) {
            Log::error($ex);
        }
    }
public function afterDelete()
    {
        try {
            $this->deleteThumbs();
            $this->deleteFile();
        }
        catch (Exception $ex) {
            Log::error($ex);
        }
    }
public function afterDelete ( ) { try { $ this -> deleteThumbs ( ) ; $ this -> deleteFile ( ) ; } catch ( Exception $ ex ) { Log :: error ( $ ex ) ; } }
After model is deleted
- clean up it's thumbnails
After model is deleted - clean up it s thumbnails