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