ChoiceView deprecated

class ChoiceView

deprecated

since version 2.7, to be removed in 3.0. Use {@link \Symfony\Component\Form\ChoiceList\View\ChoiceView} instead.

Represents a choice in templates.

Properties

string $label The label displayed to humans.
string $value The view representation of the choice.
mixed $data The original choice value.

Methods

__construct(mixed $data, string $value, string $label)

Creates a new ChoiceView.

Details

__construct(mixed $data, string $value, string $label)

Creates a new ChoiceView.

Parameters

mixed $data The original choice.
string $value The view representation of the choice.
string $label The label displayed to humans.
doc_Symfony
2016-10-28 06:08:47
Comments
Leave a Comment

Please login to continue.