Symfony\Component\Form\Extension\Core\EventListener\FixCheckboxInputListener
Takes care of converting the input from a list of checkboxes to a correctly indexed array.
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class FixCheckboxInputListener
implements
EventSubscriberInterface
{
- // members
- private $choiceList;
- // methods
- public void __construct()
- public void preSubmit()
- public void preBind()
- public static void getSubscribedEvents()
Hierarchy
Members
private
- $choiceList
Methods
public
- __construct() — Constructor.
- getSubscribedEvents()
- preBind() — Alias of {@link preSubmit()}.
- preSubmit()