/** * Set options for a fieldset. Accepted options are: * - input_filter_spec: specification to be returned by getInputFilterSpecification * * @param array|Traversable $options * @return Element|ElementInterface|FieldsetInterface * @throws Exception\InvalidArgumentException */ public function setOptions($options) { parent::setOptions($options); if (isset($options['input_filter_spec'])) { $this->setInputFilterSpecification($options['input_filter_spec']); } return $this; }