Total Complexity | 6 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
9 | class PersonaDataResponse extends AbstractResponse |
||
10 | { |
||
11 | private const DATA = 'data'; |
||
12 | |||
13 | /** |
||
14 | * @var Persona[] |
||
15 | */ |
||
16 | protected $data = []; |
||
17 | |||
18 | /** |
||
19 | * @param array $response |
||
20 | */ |
||
21 | protected function parseResponse(array $response): void |
||
24 | } |
||
25 | |||
26 | /** |
||
27 | * @return Persona[] |
||
28 | */ |
||
29 | public function getData(): array |
||
30 | { |
||
31 | return $this->data; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param array $response |
||
36 | */ |
||
37 | private function setData(array $response): void |
||
42 | } |
||
43 | } |
||
46 |