Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class TagParameter extends Parameter |
||
8 | { |
||
9 | protected $properties = [ |
||
10 | 'Tag', |
||
11 | 'Value' |
||
12 | ]; |
||
13 | |||
14 | protected $required = ['Tag', 'Value']; |
||
15 | |||
16 | /** |
||
17 | * |
||
18 | * @param string $value |
||
19 | * |
||
20 | * @return $this |
||
21 | */ |
||
22 | public function setTag(string $value) |
||
23 | { |
||
24 | $this->setAttribute('Tag', $value); |
||
25 | return $this; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * |
||
30 | * @param mixed $value |
||
31 | * |
||
32 | * @return $this |
||
33 | */ |
||
34 | public function setValue($value) |
||
38 | } |
||
39 | } |
||
40 |