public function save(Model $model) { $saved = $model->save(); if ($saved) { app('cache')->flush(); } return $saved; }