public function flushPermissionCache() { if (method_exists(app()->make('cache')->getStore(), 'tags')) { app()->make('cache')->tags($this->tag)->flush(); } }