<commit_before><?php namespace Mobileka\L3\Engine\Form\Components;

class Radio extends Checkbox {

	protected $template = 'engine::form.radio';
	protected $htmlElement = 'radio';
	protected $options = array();
	protected $requiredAttributes = array('class' => 'icheck-me');

}<commit_msg>Adds defaultValue to Radio component of the Engine<commit_after><?php namespace Mobileka\L3\Engine\Form\Components;

class Radio extends Checkbox {

	protected $template = 'engine::form.radio';
	protected $htmlElement = 'radio';
	protected $options = array();
	protected $defaultValue = '';
	protected $requiredAttributes = array('class' => 'icheck-me');

	public function value($lang = '')
	{
		return parent::value($lang) ? : $this->defaultValue;
	}

}
{'fraction_non_alphanumeric': 0.14535666218034993, 'fraction_numerical': 0.0026917900403768506, 'mean_word_length': 5.763636363636364, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7649438', 'n_tokens_mistral': 218, 'n_tokens_neox': 214, 'n_words': 55}