public function setOptions($options)
    {
        $desc = isset($this->options['description']) ? $this->options['description'] : null;

        parent::setOptions($options);

        if (isset($options['enable_descriptions'])) {
            $this->setIsDescriptionsEnabled($options['enable_descriptions']);
        }

        if (!isset($options['description']) && null !== $desc) {
            $this->options['description'] = $desc;
        }
        return $this;
    }
public function setOptions($options)
    {
        $desc = isset($this->options['description']) ? $this->options['description'] : null;

        parent::setOptions($options);

        if (isset($options['enable_descriptions'])) {
            $this->setIsDescriptionsEnabled($options['enable_descriptions']);
        }

        if (!isset($options['description']) && null !== $desc) {
            $this->options['description'] = $desc;
        }
        return $this;
    }
@param array|\Traversable $options

@return $this