class DataCollectorTypeExtension extends AbstractTypeExtension
Type extension for collecting data of a form with this type.
buildForm(FormBuilderInterface $builder, array $options) Builds the form. | ||
buildView(FormView $view, FormInterface $form, array $options) Builds the view. | from AbstractTypeExtension | |
finishView(FormView $view, FormInterface $form, array $options) Finishes the view. | from AbstractTypeExtension | |
configureOptions(OptionsResolver $resolver) Configures the options for this type. | from AbstractTypeExtension | |
__construct(FormDataCollectorInterface $dataCollector) | ||
string | getExtendedType() Returns the name of the type being extended. |
Builds the form.
This method is called after the extended type has built the form to further modify it.
Builds the view.
This method is called after the extended type has built the view to further modify it.
Finishes the view.
This method is called after the extended type has finished the view to further modify it.
Configures the options for this type.
Returns the name of the type being extended.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Form/Extension/DataCollector/Type/DataCollectorTypeExtension.html