Caffeinated\Shinobi\Models\Role::flushPermissionCache PHP Method

flushPermissionCache() public method

Flush the permission cache repository.
public flushPermissionCache ( ) : void
return void
    public function flushPermissionCache()
    {
        if (method_exists(app()->make('cache')->getStore(), 'tags')) {
            app()->make('cache')->tags($this->tag)->flush();
        }
    }