public function &createOption($optgroup = ''): Option
    {
        $option = $this->factory->create('Form\Option');

        $this->addOption($option, $optgroup);

        return $option;
    }
public function &createOption($optgroup = ''): Option
    {
        $option = $this->factory->create('Form\Option');

        $this->addOption($option, $optgroup);

        return $option;
    }
public function & createOption ( $ optgroup = '' ) : Option { $ option = $ this -> factory -> create ( 'Form\Option' ) ; $ this -> addOption ( $ option , $ optgroup ) ; return $ option ; }
Creates an Option object and returns it

@return Option
Creates an Option object and returns it