Symfony\Component\Form\FormConfigBuilderInterface::addEventSubscriber
Adds an event subscriber for events on this form.
Signature
public function addEventSubscriber(EventSubscriberInterface
$subscriber )
Parameters
$subscriber
— Symfony\Component\EventDispatcher\EventSubscriberInterface- The subscriber to attach.
Returns
- self
- The configuration object.