Symfony\Component\Form\FormConfigBuilderInterface::setDataMapper
Sets the data mapper used by the form.
Signature
public function setDataMapper([DataMapperInterface
$dataMapper = null] )
Parameters
$dataMapper
— Symfony\Component\Form\DataMapperInterface
Returns
- self
- The configuration object.