public function addOption(Option $option, string $optgroup = ''): Select
    {
        if (empty($optgroup)) {
            $this->options[] = $option;
        }
        else {
            $this->options[$optgroup][] = $option;
        }

        return $this;
    }