Symfony\Component\Form\FormTypeInterface::buildForm
Builds the form.
This method is called for each type in the hierarchy starting form the top most type. Type extensions can further modify the form.
Signature
public function buildForm(FormBuilderInterface
$builder,
array
$options )
Parameters
$builder
— Symfony\Component\Form\FormBuilderInterface- The form builder
$options
— array- The options