phpDocumentor

UserConfigurationService implements UserConfigurationService

Class UserConfigurationService

Interfaces, Classes and Traits

UserConfigurationService
Interface UserConfigurationService

Table of Contents

$factory  : UserConfigurationFactory
$repository  : UserConfigurationRepository
__construct()  : mixed
CurrentUserConfigurationService constructor.
getValue()  : string|null
Returns a user configuration value based on the given user ID, key and default value.
storeConfiguration()  : void
Stores a user configuration based on the given user ID, key and value.

Properties

Methods

getValue()

Returns a user configuration value based on the given user ID, key and default value.

public getValue(int $userId, string $key[, string $default = null ]) : string|null
Parameters
$userId : int
$key : string
$default : string = null
Tags
inheritDoc
Return values
string|null

storeConfiguration()

Stores a user configuration based on the given user ID, key and value.

public storeConfiguration(int $userId, string $key, string $value) : void
Parameters
$userId : int
$key : string
$value : string
Tags
inheritDoc
Return values
void

Search results