getInputType().'" name="'.$this->getName().'" id="'.$this->getId($option).'" class="'.$this->getCssClass().'" value="'.$option.'" '.$this->getDataAttributes().' '.$this->maybeChecked($value, $default_value, $option).'/>'; } /** * Output checked attribute. * * @param mixed $value * @return string */ public function maybeChecked($value = null, $default_value = null, $option = null) { return ! Cuztom::isEmpty($value) ? checked($value, $option, false) : checked($default_value, $option, false); } }