MetaFox

UserPreferenceRepositoryInterface
in

Interface UserPreference.

Tags
mixin

BaseRepository

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

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> = []
Return values
array<string, mixed>

        
On this page

Search results