class LegacyChoiceListAdapter implements ChoiceListInterface
deprecated
Added for backwards compatibility in Symfony 2.7, to be removed in Symfony 3.0.
Adapts a legacy choice list implementation to {@link ChoiceListInterface}.
Methods
__construct(ChoiceListInterface $adaptedList) Adapts a legacy choice list to {@link ChoiceListInterface}.
array getChoices() Returns all selectable choices.
string[] getValues() Returns the values for the choices.
string[] getStructuredVa