class ChoiceView
Represents a choice in templates.
Properties
| mixed | $data | The original choice value. |
| string | $value | The view representation of the choice. |
| string | $label | The label displayed to humans. |
Methods
|
__construct(mixed $data, string $value, string $label)
Creates a new ChoiceView. |
Details
at line 49
public
__construct(mixed $data, string $value, string $label)
Creates a new ChoiceView.