| 1 | <?php |
||
| 12 | class FetchAllPlans extends AbstractFetchAllPlans |
||
| 13 | { |
||
| 14 | use VerifyHttpStatusResponseCode; |
||
| 15 | |||
| 16 | const FETCH_ALL_PLANS_RELATIVE_LINK = "/plan"; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var \Gbowo\Contract\Adapter\AdapterInterface |
||
| 20 | */ |
||
| 21 | protected $adapter; |
||
| 22 | |||
| 23 | protected $baseUrl; |
||
| 24 | |||
| 25 | 2 | public function __construct(string $baseUrl) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * @param array $args |
||
| 32 | * @return mixed |
||
| 33 | * @throws \Gbowo\Exception\InvalidHttpResponseException if the HTTP response status code is not 200 |
||
| 34 | */ |
||
| 35 | 2 | public function handle(array $args = []) |
|
| 49 | } |
||
| 50 |