Configuration
in package
implements
JsonSerializable
Class Configuration
Interfaces, Classes and Traits
- JsonSerializable
Table of Contents
- $key : string
- $label : string
- $tags : Tags
- $tooltip : string
- $type : Type
- $value : bool|string|LanguageConfigurationValues
- createWithBoolValue() : Configuration
- createWithLanguageDependentValues() : Configuration
- createWithStringValue() : Configuration
- jsonSerialize() : array<string|int, mixed>
- tagIds() : array<string|int, string>
- __construct() : mixed
- Configuration constructor.
Properties
$key
private
string
$key
$label
private
string
$label
$tags
private
Tags
$tags
$tooltip
private
string
$tooltip
$type
private
Type
$type
$value
private
bool|string|LanguageConfigurationValues
$value
Methods
createWithBoolValue()
public
static createWithBoolValue(string $key, bool $value, string $label, string $tooltip, Type $type, Tags $tags) : Configuration
Parameters
Return values
Configuration —createWithLanguageDependentValues()
public
static createWithLanguageDependentValues(string $key, LanguageConfigurationValues $value, string $label, string $tooltip, Type $type, Tags $tags) : Configuration
Parameters
- $key : string
- $value : LanguageConfigurationValues
- $label : string
- $tooltip : string
- $type : Type
- $tags : Tags
Return values
Configuration —createWithStringValue()
public
static createWithStringValue(string $key, string $value, string $label, string $tooltip, Type $type, Tags $tags) : Configuration
Parameters
Return values
Configuration —jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —tagIds()
public
tagIds() : array<string|int, string>
Return values
array<string|int, string> —__construct()
Configuration constructor.
private
__construct(string $key, bool|string $value, string $label, string $tooltip, Type $type, Tags $tags) : mixed