Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class Reason |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | protected $responseName; |
||
11 | |||
12 | /** |
||
13 | * @var array|string |
||
14 | */ |
||
15 | protected $reason; |
||
16 | |||
17 | /** |
||
18 | * Reason constructor. |
||
19 | * @param string $responseName |
||
20 | * @param array|string $reason |
||
21 | */ |
||
22 | public function __construct(string $responseName, $reason) |
||
23 | { |
||
24 | $this->responseName = $responseName; |
||
25 | $this->reason = $reason; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @return string |
||
30 | */ |
||
31 | public function getResponseName(): string |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * @return array|string |
||
38 | */ |
||
39 | public function getReason() |
||
42 | } |
||
43 | } |
||
44 |