Method | Description | |
---|---|---|
__construct ( string $name, string $dataClass, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Symfony\Component\Form\FormFactoryInterface $factory, array $options = [] ) | Creates a new form builder. | |
add ( $child, $type = null, array $options = [] ) | ||
all ( ) | ||
count ( ) | ||
create ( $name, $type = null, array $options = [] ) | ||
get ( $name ) | ||
getForm ( ) | ||
getFormFactory ( ) | ||
getIterator ( ) | ||
getParent ( ) | ||
getTypes ( ) : array | Returns the types used by this builder. | |
has ( $name ) | ||
hasParent ( ) | ||
remove ( $name ) | ||
setParent ( Symfony\Component\Form\FormBuilderInterface $parent = null ) |
Method | Description | |
---|---|---|
resolveChild ( string $name ) : |
Converts an unresolved child into a {@link FormBuilder} instance. | |
resolveChildren ( ) | Converts all unresolved children into {@link FormBuilder} instances. |
public __construct ( string $name, string $dataClass, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Symfony\Component\Form\FormFactoryInterface $factory, array $options = [] ) | ||
$name | string | |
$dataClass | string | |
$dispatcher | Symfony\Component\EventDispatcher\EventDispatcherInterface | |
$factory | Symfony\Component\Form\FormFactoryInterface | |
$options | array |
public setParent ( Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
$parent | Symfony\Component\Form\FormBuilderInterface |