Silber\Bouncer\CachedClipboard::refreshAllIteratively PHP Method

refreshAllIteratively() protected method

Refresh the cache for all roles and users, iteratively.
protected refreshAllIteratively ( ) : void
return void
    protected function refreshAllIteratively()
    {
        foreach (Models::user()->all() as $user) {
            $this->refreshFor($user);
        }
        foreach (Models::role()->all() as $role) {
            $this->refreshFor($role);
        }
    }