class FormBuilder extends FormConfigBuilder implements IteratorAggregate, FormBuilderInterface
A builder for creating {@link Form} instances.
Methods
__construct(string|int $name, string $dataClass, EventDispatcherInterface $dispatcher, FormFactoryInterface $factory, array $options = array()) Creates a new form builder.
FormConfigBuilderInterface addEventListener(string $eventName, callable $listener, int $priority) Adds an event listener to an event on this form. from FormConfigBu