Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class ExceptionResponse implements IResponseDataInterface |
||
11 | { |
||
12 | private bool $isSuccess; |
||
13 | private string $retMsg; |
||
14 | private string $connectionId; |
||
15 | private \DateTime $time; |
||
16 | private string $reqId; |
||
17 | private string $operation; |
||
18 | |||
19 | public function __construct(array $data) |
||
29 | } |
||
30 | |||
31 | public function isSuccess(): bool |
||
32 | { |
||
33 | return $this->isSuccess; |
||
34 | } |
||
35 | |||
36 | public function getReturnMessage(): string |
||
39 | } |
||
40 | |||
41 | public function getTime() |
||
46 |