Symfony\Component\Form\Extension\Core\EventListener\MergeCollectionListener
- Author: Bernhard Schussek <bschussek@gmail.com>
Synopsis
class MergeCollectionListener
implements
EventSubscriberInterface
{
- // members
- private Boolean $allowAdd;
- private Boolean $allowDelete;
- // methods
- public void __construct()
- public static void getSubscribedEvents()
- public void onSubmit()
- public void onBind()
Hierarchy
Members
private
- $allowAdd
—
Symfony\Component\Form\Extension\Core\EventListener\Boolean
Whether elements may be added to the collection - $allowDelete
—
Symfony\Component\Form\Extension\Core\EventListener\Boolean
Whether elements may be removed from the collection
Methods
public
- __construct() — Creates a new listener.
- getSubscribedEvents()
- onBind() — Alias of {@link onSubmit()}.
- onSubmit()