Zend\Form\Element::setAttributes
Set many attributes at once
Implementation will decide if this will overwrite or merge.
Signature
public function setAttributes(array|Traversable
$arrayOrTraversable )
Parameters
$arrayOrTraversable
— object
Returns
- Element|ElementInterface