class ChoiceToBooleanArrayTransformer implements DataTransformerInterface
deprecated
since version 2.7, to be removed in 3.0. Use {@link \Symfony\Component\Form\ChoiceList\LazyChoiceList} instead.
Methods
__construct(ChoiceListInterface $choiceList, bool $placeholderPresent) Constructor.
mixed transform(mixed $choice) Transforms a single choice to a format appropriate for the nested checkboxes/radio buttons.
mixed reverseTransform(array $values) Transforms a checkbox/radio bu