UserPreferenceRepositoryInterface
                
            in
            
        
    
        
            Interface UserPreference.
Tags
Table of Contents
Methods
- getPreferences() : array<string, mixed>
 - Get all current user preferences.
 - updateOrCreatePreferences() : array<string, mixed>
 - Update user preferences or create a new one if not exist.
 
Methods
getPreferences()
Get all current user preferences.
    public
                    getPreferences(User $user) : array<string, mixed>
    Parameters
- $user : User
 
Return values
array<string, mixed>updateOrCreatePreferences()
Update user preferences or create a new one if not exist.
    public
                    updateOrCreatePreferences(User $user[, array<string, mixed> $attributes = [] ]) : array<string, mixed>
    Parameters
- $user : User
 - $attributes : array<string, mixed> = []