/** * 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 * * @param array|\Traversable $options * @return YesNo|ElementInterface * @throws InvalidArgumentException */ public function setOptions($options) { parent::setOptions($options); return $this; }