/** * Destroy a resource * * @param $model * @return mixed */ public function destroy($model) { $this->cache->tags($this->entityName)->flush(); return $this->repository->destroy($model); }