Zend\Form\FormInterface::setData
Set data to validate and/or populate elements
Typically, also passes data on to the composed input filter.
Signature
public function setData(ArrayAccess
$data )
Parameters
$data
— object
Returns
- FormInterface