Zend\Form\Element\MultiCheckbox::setOptions
Set options for an element. Accepted options are: - label: label to associate with the element - label_attributes: attributes to use when the label is rendered - value_options: list of values and labels for the select options
Signature
public function setOptions(Traversable
$options )
Parameters
$options
— object
Returns
- MultiCheckbox|ElementInterface