| Total Complexity | 3 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | abstract class AbstractCheckableInput extends AbstractInput implements CheckableFieldInterface |
||
| 8 | { |
||
| 9 | protected ?bool $checked = null; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Get the value of checked |
||
| 13 | * |
||
| 14 | * @return bool |
||
| 15 | */ |
||
| 16 | public function isChecked(): bool |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Set the value of checked |
||
| 23 | * |
||
| 24 | * @param bool $checked |
||
| 25 | * |
||
| 26 | * @return $this |
||
| 27 | */ |
||
| 28 | public function setChecked(bool $checked): CheckableFieldInterface |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return $this |
||
| 37 | */ |
||
| 38 | protected function resolveAttributes(): AbstractCheckableInput |
||
| 46 |