Symfony\Component\Form\Extension\Core\DataTransformer\ChoicesToBooleanArrayTransformer
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class ChoicesToBooleanArrayTransformer
implements
DataTransformerInterface
{
- // members
- private $choiceList;
- // methods
- public void __construct()
- public mixed transform()
- public mixed reverseTransform()
Hierarchy
Members
private
- $choiceList
Methods
public
- __construct()
- reverseTransform() — Transforms a checkbox/radio button array to an array of choices.
- transform() — Transforms an array of choices to a format appropriate for the nested checkboxes/radio buttons.