public function addRadio() : Radio
    {
        $radio = new Radio($this->form, $this->name);
        $radio->setRequired($this->isRequired());
        $this->radios[] = $radio;

        return $radio;
    }
public function addRadio() : Radio
    {
        $radio = new Radio($this->form, $this->name);
        $radio->setRequired($this->isRequired());
        $this->radios[] = $radio;

        return $radio;
    }
public function addRadio ( ) : Radio { $ radio = new Radio ( $ this -> form , $ this -> name ) ; $ radio -> setRequired ( $ this -> isRequired ( ) ) ; $ this -> radios [ ] = $ radio ; return $ radio ; }
Adds a radio button in this group and returns it.

@return Radio
Adds a radio button in this group and returns it .