DataCollector\FormDataExtractor (Component\Form\Extension)
Symfony\Component\Form\Extension\DataCollector\FormDataExtractor
class FormDataExtractor implements FormDataExtractorInterface
Default implementation of {@link FormDataExtractorInterface}.
Methods
__construct(ValueExporter $valueExporter = null) Constructs a new data extractor. | ||
array | extractConfiguration(FormInterface $form) Extracts the configuration data of a form. | |
array | extractDefaultData(FormInterface $form) Extracts the default data of a form. | |
array | extractSubmittedData(FormInterface $form) Extracts the submitted data of a form. | |
array | extractViewVariables(FormView $view) Extracts the view variables of a form. |
Details
public __construct(ValueExporter $valueExporter = null)
Constructs a new data extractor.
public array extractConfiguration(FormInterface $form)
Extracts the configuration data of a form.
public array extractDefaultData(FormInterface $form)
Extracts the default data of a form.
public array extractSubmittedData(FormInterface $form)
Extracts the submitted data of a form.
public array extractViewVariables(FormView $view)
Extracts the view variables of a form.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Form/Extension/DataCollector/FormDataExtractor.html