| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class CommonParameter extends Parameter |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | protected $properties = [ |
||
| 20 | 'Key', |
||
| 21 | 'Value' |
||
| 22 | ]; |
||
| 23 | |||
| 24 | protected $required = ['Key', 'Value']; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * |
||
| 28 | * @param string $value |
||
| 29 | * |
||
| 30 | * @return $this |
||
| 31 | */ |
||
| 32 | public function setKey(string $value) |
||
| 33 | { |
||
| 34 | $this->setAttribute('Key', $value); |
||
| 35 | |||
| 36 | return $this; |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * |
||
| 41 | * @param string $value |
||
| 42 | * |
||
| 43 | * @return $this |
||
| 44 | */ |
||
| 45 | public function setValue(string $value) |
||
| 50 | } |
||
| 51 | } |
||
| 52 |