| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Parameter implements ParameterInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $name = ''; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var bool|float|int|string |
||
| 19 | */ |
||
| 20 | protected $value; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @return string |
||
| 24 | */ |
||
| 25 | 26 | public function getName(): string |
|
| 26 | { |
||
| 27 | 26 | return $this->name; |
|
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @param string $name |
||
| 32 | */ |
||
| 33 | 15 | public function setName(string $name) |
|
| 34 | { |
||
| 35 | 15 | $this->name = $name; |
|
| 36 | 15 | } |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return bool|float|int|string |
||
| 40 | */ |
||
| 41 | 17 | public function getValue() |
|
| 44 | } |
||
| 45 | |||
| 46 | /** |
||
| 47 | * @param bool|float|int|string $value |
||
| 48 | */ |
||
| 49 | 15 | public function setValue($value) |
|
| 52 | 15 | } |
|
| 53 | } |
||
| 54 |