interface FormFactoryInterface
Methods
| FormInterface |
create(string|FormTypeInterface $type = 'form', mixed $data = null, array $options = array())
Returns a form. |
|
| FormInterface |
createNamed(string|integer $name, string|FormTypeInterface $type = 'form', mixed $data = null, array $options = array())
Returns a form. |
|
| FormInterface |
createForProperty(string $class, string $property, mixed $data = null, array $options = array())
Returns a form for a property of a class. |
|
| FormBuilderInterface |
createBuilder(string|FormTypeInterface $type = 'form', mixed $data = null, array $options = array())
Returns a form builder. |
|
| FormBuilderInterface |
createNamedBuilder(string|integer $name, string|FormTypeInterface $type = 'form', mixed $data = null, array $options = array())
Returns a form builder. |
|
| FormBuilderInterface |
createBuilderForProperty(string $class, string $property, mixed $data = null, array $options = array())
Returns a form builder for a property of a class. |
Details
at line 32
public FormInterface
create(string|FormTypeInterface $type = 'form', mixed $data = null, array $options = array())
Returns a form.
at line 48
public FormInterface
createNamed(string|integer $name, string|FormTypeInterface $type = 'form', mixed $data = null, array $options = array())
Returns a form.
at line 64
public FormInterface
createForProperty(string $class, string $property, mixed $data = null, array $options = array())
Returns a form for a property of a class.
at line 77
public FormBuilderInterface
createBuilder(string|FormTypeInterface $type = 'form', mixed $data = null, array $options = array())
Returns a form builder.
at line 91
public FormBuilderInterface
createNamedBuilder(string|integer $name, string|FormTypeInterface $type = 'form', mixed $data = null, array $options = array())
Returns a form builder.
at line 108
public FormBuilderInterface
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.