public function addOptionsByArray(
        array $options,
        $content_type = 'text/plain'
    ) {
        foreach ($options as $parent => $child_options) {
            foreach ($child_options as $value => $title) {
                $this->addOption($parent, $value, $title, $content_type);
            }
        }
    }