|
4 | 4 |
|
5 | 5 | namespace PHPForge\Html\FormControl\Input\Base; |
6 | 6 |
|
7 | | -use PHPForge\Html\{ |
8 | | - Attribute\Aria\HasAriaDescribedBy, |
9 | | - Attribute\Aria\HasAriaLabel, |
10 | | - Attribute\CanBeAutofocus, |
11 | | - Attribute\CanBeHidden, |
12 | | - Attribute\Custom\HasAttributes, |
13 | | - Attribute\Custom\HasContainerCollection, |
14 | | - Attribute\Custom\HasContent, |
15 | | - Attribute\Custom\HasEnclosedByLabel, |
16 | | - Attribute\Custom\HasLabelCollection, |
17 | | - Attribute\Custom\HasPrefixCollection, |
18 | | - Attribute\Custom\HasSeparator, |
19 | | - Attribute\Custom\HasSuffixCollection, |
20 | | - Attribute\Custom\HasTemplate, |
21 | | - Attribute\Custom\HasUncheckedCollection, |
22 | | - Attribute\Custom\HasValidateScalar, |
23 | | - Attribute\Field\HasGenerateField, |
24 | | - Attribute\HasClass, |
25 | | - Attribute\HasData, |
26 | | - Attribute\HasId, |
27 | | - Attribute\HasLang, |
28 | | - Attribute\HasStyle, |
29 | | - Attribute\HasTabindex, |
30 | | - Attribute\HasTitle, |
31 | | - Attribute\Input\CanBeChecked, |
32 | | - Attribute\Input\CanBeDisabled, |
33 | | - Attribute\Input\CanBeReadonly, |
34 | | - Attribute\Input\CanBeRequired, |
35 | | - Attribute\Input\HasForm, |
36 | | - Attribute\Input\HasName, |
37 | | - Attribute\Input\HasValue, |
38 | | - FormControl\Input\Contract\AriaDescribedByInterface, |
39 | | - FormControl\Input\Contract\CheckedInterface, |
40 | | - FormControl\Input\Contract\InputInterface, |
41 | | - FormControl\Input\Contract\LabelInterface, |
42 | | - FormControl\Input\Contract\RequiredInterface, |
43 | | - FormControl\Label, |
44 | | - Tag |
| 7 | +use PHPForge\{ |
| 8 | + Html\Attribute\Aria\HasAriaDescribedBy, |
| 9 | + Html\Attribute\Aria\HasAriaLabel, |
| 10 | + Html\Attribute\CanBeAutofocus, |
| 11 | + Html\Attribute\CanBeHidden, |
| 12 | + Html\Attribute\Custom\HasAttributes, |
| 13 | + Html\Attribute\Custom\HasContainerCollection, |
| 14 | + Html\Attribute\Custom\HasContent, |
| 15 | + Html\Attribute\Custom\HasEnclosedByLabel, |
| 16 | + Html\Attribute\Custom\HasLabelCollection, |
| 17 | + Html\Attribute\Custom\HasPrefixCollection, |
| 18 | + Html\Attribute\Custom\HasSeparator, |
| 19 | + Html\Attribute\Custom\HasSuffixCollection, |
| 20 | + Html\Attribute\Custom\HasTemplate, |
| 21 | + Html\Attribute\Custom\HasUncheckedCollection, |
| 22 | + Html\Attribute\Custom\HasValidateScalar, |
| 23 | + Html\Attribute\Field\HasGenerateField, |
| 24 | + Html\Attribute\HasClass, |
| 25 | + Html\Attribute\HasData, |
| 26 | + Html\Attribute\HasId, |
| 27 | + Html\Attribute\HasLang, |
| 28 | + Html\Attribute\HasStyle, |
| 29 | + Html\Attribute\HasTabindex, |
| 30 | + Html\Attribute\HasTitle, |
| 31 | + Html\Attribute\Input\CanBeChecked, |
| 32 | + Html\Attribute\Input\CanBeDisabled, |
| 33 | + Html\Attribute\Input\CanBeReadonly, |
| 34 | + Html\Attribute\Input\CanBeRequired, |
| 35 | + Html\Attribute\Input\HasForm, |
| 36 | + Html\Attribute\Input\HasName, |
| 37 | + Html\Attribute\Input\HasValue, |
| 38 | + Html\FormControl\Input\Contract\LabelInterface, |
| 39 | + Html\FormControl\Label, |
| 40 | + Html\Interop\AriaDescribedByInterface, |
| 41 | + Html\Interop\CheckedInterface, |
| 42 | + Html\Interop\InputInterface, |
| 43 | + Html\Interop\RequiredInterface, |
| 44 | + Html\Tag, |
| 45 | + Widget\Element, |
| 46 | + Widget\ElementInterface |
45 | 47 | }; |
46 | | -use PHPForge\Widget\Element; |
47 | 48 |
|
48 | 49 | /** |
49 | 50 | * Provides a foundation for creating HTML elements with various attributes and content. |
50 | 51 | */ |
51 | 52 | abstract class AbstractInputChoice extends Element implements |
52 | 53 | AriaDescribedByInterface, |
53 | 54 | CheckedInterface, |
| 55 | + ElementInterface, |
54 | 56 | InputInterface, |
55 | 57 | LabelInterface, |
56 | 58 | RequiredInterface |
|
0 commit comments