Symfony\Component\Form\AbstractType::createBuilder PHP Méthode

createBuilder() public méthode

The builder is retrieved by going up in the type hierarchy when a type does not provide one.
public createBuilder ( string $name, Symfony\Component\Form\FormFactoryInterface $factory, array $options ) : FormBuilder | null
$name string The name of the builder
$factory Symfony\Component\Form\FormFactoryInterface The form factory
$options array The options
Résultat FormBuilder | null A form builder or null when the type does not have a builder
    public function createBuilder($name, FormFactoryInterface $factory, array $options)
    {
        return null;
    }