final class Variant (View source)

Methods

__construct(string $identifier, Label $label, string $description = null)

No description

static Variant
fromConfiguration(string $identifier, array $configuration)

No description

string
identifier()

No description

label()

No description

string|null
description()

No description

array
adjustments()

No description

Details

__construct(string $identifier, Label $label, string $description = null)

No description

Parameters

string $identifier
Label $label
string $description

static Variant fromConfiguration(string $identifier, array $configuration)

No description

Parameters

string $identifier
array $configuration

Return Value

Variant

string identifier()

No description

Return Value

string

Label label()

No description

Return Value

Label

string|null description()

No description

Return Value

string|null

array adjustments()

No description

Return Value

array