Total Complexity | 5 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 5 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
7 | class Textarea extends FormElement |
||
8 | { |
||
9 | /** @var string */ |
||
10 | public $placeholder; |
||
11 | |||
12 | /** @var int */ |
||
13 | public $rows = 5; |
||
14 | |||
15 | protected function attributesList() |
||
16 | { |
||
17 | return [ |
||
18 | 'id', 'name', 'placeholder', 'rows', 'class', 'required', 'disabled', 'readonly', 'autocomplete', |
||
19 | ]; |
||
20 | } |
||
21 | |||
22 | protected function setSpecificAttributes() |
||
26 | } |
||
27 | |||
28 | protected function setPlaceholder() |
||
31 | } |
||
32 | |||
33 | protected function setRows() |
||
36 | } |
||
37 | |||
38 | protected function setStyles() |
||
44 |