src/Helpers/Request/HtmlHelper.php
public function radio($name, $checked = false, $options = [], $encoding = null)
    {
        return $this->proxyWithCharset(__FUNCTION__, [$name, $checked, $options, $encoding]);
    }
public function radio($name, $checked = false, $options = [], $encoding = null)
    {
        return $this->proxyWithCharset(__FUNCTION__, [$name, $checked, $options, $encoding]);
    }
Generates a radio button input.
@param string $name the name attribute.
@param bool $checked whether the radio button should be checked.
@param array $options the tag options in terms of name-value pairs.
@param string $encoding
See [[booleanInput()]] for details about accepted attributes.

@return string the generated radio button tag
@see Html::radio()