Total Complexity | 4 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | abstract class AbstractAttributeItem extends Item implements AttributeItem |
||
8 | { |
||
9 | /** |
||
10 | * @var string|null |
||
11 | */ |
||
12 | protected $fixed; |
||
13 | |||
14 | /** |
||
15 | * @var string|null |
||
16 | */ |
||
17 | protected $default; |
||
18 | |||
19 | /** |
||
20 | * @return string|null |
||
21 | */ |
||
22 | public function getFixed(): ? string |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @return $this |
||
29 | */ |
||
30 | public function setFixed(string $fixed): self |
||
31 | { |
||
32 | $this->fixed = $fixed; |
||
33 | |||
34 | return $this; |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return string|null |
||
39 | */ |
||
40 | public function getDefault(): ? string |
||
41 | { |
||
42 | return $this->default; |
||
43 | } |
||
44 | |||
45 | /** |
||
46 | * @return $this |
||
47 | */ |
||
48 | public function setDefault(string $default): self |
||
53 | } |
||
54 | } |
||
55 |