public function cacheKeys()
    {
        $keys = [];
        $roles = array_merge(cache('roles'), ['guest']);

        foreach ($roles as $role) {
            $keys[] = $this->generateCacheKey($role);
        }

        return implode('|', $keys);
    }
public function cacheKeys()
    {
        $keys = [];
        $roles = array_merge(cache('roles'), ['guest']);

        foreach ($roles as $role) {
            $keys[] = $this->generateCacheKey($role);
        }

        return implode('|', $keys);
    }
public function cacheKeys ( ) { $ keys = [ ] ; $ roles = array_merge ( cache ( 'roles' ) , [ 'guest' ] ) ; foreach ( $ roles as $ role ) { $ keys [ ] = $ this -> generateCacheKey ( $ role ) ; } return implode ( '|' , $ keys ) ; }
Get all keys of the widget for clearing cache.
@return string
Get all keys of the widget for clearing cache .