public function destroy($id) { if (!empty($this->cacheKey)) { Cache::delete($id, $this->cacheKey); } return parent::destroy($id); }