Symfony\Component\Form\ResolvedFormType::newBuilder
Creates a new builder instance.
Override this method if you want to customize the builder class.
Signature
protected function newBuilder(string
$name,
FormFactoryInterface
$dataClass,
FormFactoryInterface
$factory,
array
$options )
Parameters
$name
— string- The name of the builder.
$dataClass
— string- The data class.
$factory
— Symfony\Component\Form\FormFactoryInterface- The current form factory.
$options
— array- The builder options.
Returns
- FormBuilderInterface
- The new builder instance.