Option
AbstractYes
Entity for working with options.
Any option, no matter how small it is, can have different variants of values.
By creating a separate class for an option, we can describe its purpose, available options, as well as language messages.
Table of Contents
Constants
- DEFAULT_VALUE = null
- NAME = null
Methods
Constants
DEFAULT_VALUE
public
mixed
DEFAULT_VALUE
= null
NAME
public
mixed
NAME
= null
Methods
get()
Get option value.
public
static get() : string
Return values
stringset()
Set option value.
public
static set(string $value) : void
Parameters
- $value : string