CustomerUserConfigurationRepository
in package
Class CustomerUserConfigurationRepository
Table of Contents
- CUSTOMERS_PER_PAGE_CONFIGURATION_KEY = 'CUSTOMERS_PER_PAGE'
- PROMPT_CONFIGURATION_KEY = 'SHOW_WARNING_ON_LOGIN_AS_CUSTOMER'
- $service : UserConfigurationService
- $userId : int
- __construct() : mixed
- getCustomersPerPageValue() : int
- getShowWarningOnLoginAsCustomerValue() : bool
- setCustomersPerPageValue() : void
- setShowWarningOnLoginAsCustomerValue() : void
Constants
CUSTOMERS_PER_PAGE_CONFIGURATION_KEY
private
mixed
CUSTOMERS_PER_PAGE_CONFIGURATION_KEY
= 'CUSTOMERS_PER_PAGE'
PROMPT_CONFIGURATION_KEY
private
mixed
PROMPT_CONFIGURATION_KEY
= 'SHOW_WARNING_ON_LOGIN_AS_CUSTOMER'
Properties
$service
private
UserConfigurationService
$service
$userId
private
int
$userId
Methods
__construct()
public
__construct(UserConfigurationService $service, UserPreferences $preferences) : mixed
Parameters
- $service : UserConfigurationService
- $preferences : UserPreferences
Return values
mixed —getCustomersPerPageValue()
public
getCustomersPerPageValue() : int
Return values
int —getShowWarningOnLoginAsCustomerValue()
public
getShowWarningOnLoginAsCustomerValue() : bool
Return values
bool —setCustomersPerPageValue()
public
setCustomersPerPageValue(int $value) : void
Parameters
- $value : int
Return values
void —setShowWarningOnLoginAsCustomerValue()
public
setShowWarningOnLoginAsCustomerValue(bool $value) : void
Parameters
- $value : bool