| Total Complexity | 6 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class ExceptionResponse implements IExceptionCurlResponseInterface, IResponseInterface |
||
| 11 | { |
||
| 12 | private int $retCode; |
||
| 13 | private string $retMsg; |
||
| 14 | private array $retExtInfo; |
||
| 15 | private EntityCollection $result; |
||
| 16 | private \DateTime $time; |
||
| 17 | |||
| 18 | public function __construct(int $retCode, string $retMsg, ?array $retExtInfo, int $time) |
||
| 25 | } |
||
| 26 | |||
| 27 | public function getReturnCode(): int |
||
| 28 | { |
||
| 29 | return $this->retCode; |
||
| 30 | } |
||
| 31 | |||
| 32 | public function getReturnMessage(): string |
||
| 33 | { |
||
| 34 | return $this->retMsg; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function getExtendedInfo(): array |
||
| 40 | } |
||
| 41 | |||
| 42 | public function getResult(): AbstractResponse |
||
| 43 | { |
||
| 44 | return $this->result->fetch(); |
||
|
|
|||
| 45 | } |
||
| 46 | |||
| 47 | public function getTime() |
||
| 50 | } |
||
| 51 | } |