class ChoiceView
deprecated
Represents a choice in templates.
string | $label | The label displayed to humans. | |
string | $value | The view representation of the choice. | |
mixed | $data | The original choice value. |
__construct(mixed $data, string $value, string $label) Creates a new ChoiceView. |
Creates a new ChoiceView.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.2/Symfony/Component/Form/Extension/Core/View/ChoiceView.html