defaultValue((bool)$default); return $this; } /** * Returns whether the checkbox is checked by default * * @since 2.12.0 * * @return bool */ public function isChecked() { return (bool)$this->defaultValue; } }