1 | <?php |
||
16 | class FetchAllPlans extends AbstractFetchAllPlans |
||
17 | { |
||
18 | |||
19 | const FETCH_ALL_PLANS_RELATIVE_LINK = "/plan"; |
||
20 | |||
21 | /** |
||
22 | * @var \Gbowo\Contract\Adapter\AdapterInterface |
||
23 | */ |
||
24 | protected $adapter; |
||
25 | |||
26 | /** |
||
27 | * @var string |
||
28 | */ |
||
29 | protected $baseUrl; |
||
30 | |||
31 | /** |
||
32 | * FetchAllPlans constructor. |
||
33 | * @param string $baseUrl The base api link |
||
34 | */ |
||
35 | 2 | public function __construct(string $baseUrl) |
|
39 | |||
40 | /** |
||
41 | * @param array $queryParams |
||
42 | * @return mixed |
||
43 | * @throws \Gbowo\Exception\InvalidHttpResponseException if the HTTP response status code is not 200 |
||
44 | */ |
||
45 | 2 | public function handle(array $queryParams = []) |
|
77 | } |
||
78 |