Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
37 | 2 | public function getList() |
|
38 | { |
||
39 | 2 | $link = $this->getLink() . '?'; |
|
40 | |||
41 | 2 | $link = $this->addIdToLink($link); |
|
42 | 2 | $link = $this->addPaginationToLink($link); |
|
43 | |||
44 | 2 | $this->request->performRequest($link, [], 'application/json', 'GET'); |
|
45 | 2 | $this->response = $this->request->getResponse(); |
|
46 | |||
47 | 2 | return $this->parseResponseToEntities(); |
|
48 | } |
||
49 | |||
87 | } |