DataMapperInterface (Component\Form)
Symfony\Component\Form\DataMapperInterface
interface DataMapperInterface
Methods
mapDataToForms(mixed $data, FormInterface[] $forms) Maps properties of some data to a list of forms. | ||
mapFormsToData(FormInterface[] $forms, mixed $data) Maps the data of a list of forms into the properties of some data. |
Details
public mapDataToForms(mixed $data, FormInterface[] $forms)
Maps properties of some data to a list of forms.
public mapFormsToData(FormInterface[] $forms, mixed $data)
Maps the data of a list of forms into the properties of some data.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Form/DataMapperInterface.html