Symfony\Component\Form\DataMapperInterface::mapDataToForms
Maps properties of some data to a list of forms.
Signature
public function mapDataToForms(mixed
$data,
array
$forms )
Parameters
$data
— mixed- Structured data.
$forms
— array- A list of {@link FormInterface} instances.
Errors/Exceptions
-
UnexpectedTypeException
- if the type of the data parameter is not supported.