interface FormFactoryInterface
Methods
| Form |
create(string|FormTypeInterface $type, mixed $data = null, array $options = array())
Returns a form. |
|
| Form |
createNamed(string|FormTypeInterface $type, string $name, mixed $data = null, array $options = array())
Returns a form. |
|
| Form |
createForProperty(string $class, string $property, mixed $data = null, array $options = array())
Returns a form for a property of a class. |
|
| FormBuilder |
createBuilder(string|FormTypeInterface $type, mixed $data = null, array $options = array())
Returns a form builder |
|
| FormBuilder |
createNamedBuilder(string|FormTypeInterface $type, string $name, mixed $data = null, array $options = array())
Returns a form builder. |
|
| FormBuilder |
createBuilderForProperty(string $class, string $property, mixed $data = null, array $options = array())
Returns a form builder for a property of a class. |
|
| getType($name) | ||
| hasType($name) | ||
| addType(FormTypeInterface $type) |
Details
at line 29
public Form
create(string|FormTypeInterface $type, mixed $data = null, array $options = array())
Returns a form.
at line 43
public Form
createNamed(string|FormTypeInterface $type, string $name, mixed $data = null, array $options = array())
Returns a form.
at line 57
public Form
createForProperty(string $class, string $property, mixed $data = null, array $options = array())
Returns a form for a property of a class.
at line 70
public FormBuilder
createBuilder(string|FormTypeInterface $type, mixed $data = null, array $options = array())
Returns a form builder
at line 84
public FormBuilder
createNamedBuilder(string|FormTypeInterface $type, string $name, mixed $data = null, array $options = array())
Returns a form builder.
at line 101
public FormBuilder
createBuilderForProperty(string $class, string $property, mixed $data = null, array $options = array())
Returns a form builder for a property of a class.
If any of the 'max_length', 'required' and type options can be guessed,
and are not provided in the options argument, the guessed value is used.