protected static function checkable($type, $name, $value, $checked, $attributes) { if ($checked) { $attributes['checked'] = 'checked'; } return static::input($type, $name, $value, $attributes); }