UserConfigurationService
in package
implements
UserConfigurationServiceInterface
Class UserConfigurationService
This class is used to persist user specific configurations
Tags
Interfaces, Classes and Traits
- UserConfigurationServiceInterface
- Interface UserConfigurationServiceInterface
Table of Contents
- $reader : mixed
- $writer : mixed
- __construct() : mixed
- Constructor
- getUserConfiguration() : string
- Gets a user configuration (table: user_configuration)
- setUserConfiguration() : mixed
- Sets a user configuration (table: user_configuration)
Properties
$reader
protected
mixed
$reader
$writer
protected
mixed
$writer
Methods
__construct()
Constructor
public
__construct(UserConfigurationReader $reader, UserConfigurationWriter $writer) : mixed
Parameters
- $reader : UserConfigurationReader
- $writer : UserConfigurationWriter
Return values
mixed —getUserConfiguration()
Gets a user configuration (table: user_configuration)
public
getUserConfiguration(IdType $userId, mixed $configurationKey) : string
Parameters
- $userId : IdType
- $configurationKey : mixed
Tags
Return values
string —setUserConfiguration()
Sets a user configuration (table: user_configuration)
public
setUserConfiguration(IdType $userId, mixed $configurationKey, mixed $configurationValue) : mixed
Parameters
- $userId : IdType
- $configurationKey : mixed
- $configurationValue : mixed