refreshCachedScopes(); } /** * Handle the Scope "deleted" event. * * @return void */ public function deleted() { $this->refreshCachedScopes(); } protected function refreshCachedScopes() { Cache::forget('scopes'); Cache::rememberForever('scopes', function () { return Scope::pluck('description', 'name')->toArray(); }); } }