Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class ResponseParam implements IParam |
||
18 | { |
||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private $value; |
||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | private $name; |
||
27 | |||
28 | /** |
||
29 | * Email constructor. |
||
30 | * |
||
31 | * @param string $value |
||
32 | * @param string $name |
||
33 | */ |
||
34 | 16 | public function __construct(string $value, string $name) |
|
39 | } |
||
40 | |||
41 | 12 | public function getValue(): string |
|
42 | { |
||
43 | 12 | return $this->value; |
|
44 | } |
||
45 | |||
46 | 15 | public function __toString(): string |
|
47 | { |
||
48 | 15 | return $this->value; |
|
49 | } |
||
50 | |||
51 | 16 | public function getParamName(): string |
|
54 | } |
||
55 | } |
||
56 |