Symfony\Component\Form\Extension\Core\View\ChoiceView::__construct
Creates a new ChoiceView.
Signature
public function __construct(mixed
$data,
string
$value,
string
$label )
Parameters
$data
— mixed- The original choice.
$value
— string- The view representation of the choice.
$label
— string- The label displayed to humans.