UserConfigurationService

Implements \UserConfigurationServiceInterface

Class UserConfigurationService

This class is used to persist user specific configurations

category

System

package

UserConfiguration

Methods

Constructor

__construct(\UserConfigurationReader $reader, \UserConfigurationWriter $writer) 

Gets a user configuration (table: user_configuration)

getUserConfiguration(\IdType $userId, string $configurationKey) : string
override

Arguments

$userId

\IdType

$configurationKey

string

Response

string

Sets a user configuration (table: user_configuration)

setUserConfiguration(\IdType $userId, string $configurationKey, string $configurationValue) 
override

Arguments

$userId

\IdType

$configurationKey

string

$configurationValue

string

Properties

reader

reader : 

Type(s)

writer

writer : 

Type(s)