UserConfigurationController
in package
Class UserConfigurationController
Table of Contents
- $configurationService : CurrentUserConfigurationService
- __construct() : mixed
- UserConfigurationController constructor.
- get() : Response
- Returns a user configuration value for currently logged in user.
- save() : Response
- Saves a user configuration for the currently logged in user.
Properties
$configurationService
private
CurrentUserConfigurationService
$configurationService
Methods
__construct()
UserConfigurationController constructor.
public
__construct(CurrentUserConfigurationService $configurationService) : mixed
Parameters
- $configurationService : CurrentUserConfigurationService
Return values
mixed —get()
Returns a user configuration value for currently logged in user.
public
get(Request $request, Response $response) : Response
Parameters
Return values
Response —save()
Saves a user configuration for the currently logged in user.
public
save(Request $request, Response $response) : Response