Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Tests | 10 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
34 | 3 | public function __construct(array $result, $key, HttpClient $client, $method, $url, array $params = []) |
|
35 | { |
||
36 | 3 | $this->current = $result['paging']['current_page']; |
|
37 | 3 | $this->max = $result['paging']['total_entries']; |
|
38 | 3 | $this->result = $result[$key]; |
|
39 | |||
40 | 3 | $this->key = $key; |
|
41 | 3 | $this->client = $client; |
|
42 | 3 | $this->method = $method; |
|
43 | 3 | $this->url = $url; |
|
44 | 3 | $this->params = $params; |
|
45 | 3 | } |
|
46 | |||
96 |