Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
7 | class NlpResponse extends AbstractResponse |
||
8 | { |
||
9 | private const SUCCESS = 'success'; |
||
10 | |||
11 | /** |
||
12 | * @var bool |
||
13 | */ |
||
14 | protected $success; |
||
15 | |||
16 | /** |
||
17 | * @param array $response |
||
18 | */ |
||
19 | protected function parseResponse(array $response): void |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @return bool |
||
26 | */ |
||
27 | public function isSuccess(): bool |
||
32 |