OptionService uses Singleton
Table of Contents
Methods
- __wakeup() : mixed
- delete() : void
- getInstance() : static
- save() : void
Methods
__wakeup()
public
__wakeup() : mixed
delete()
public
delete(int $userId, Option $option) : void
Parameters
- $userId : int
- $option : Option
Tags
getInstance()
public
static getInstance() : static
Return values
staticsave()
public
save(int $userId, Option $option, string $value) : void
Parameters
- $userId : int
- $option : Option
- $value : string