FormBuilder::create()

FormBuilderInterface create(string $name, string|null $type = null, array $options = array())

Creates a form builder.

Parameters

string $name The name of the form or the name of the property
string|null $type The type of the form or null if name is a property
array $options The options

Return Value

FormBuilderInterface The created builder
doc_Symfony
2016-10-28 06:17:33
Comments
Leave a Comment

Please login to continue.