| 1 | <?php |
||
| 11 | class FetchPlan extends AbstractFetchPlan |
||
| 12 | { |
||
| 13 | protected $baseUrl; |
||
| 14 | |||
| 15 | protected $apiKeys; |
||
| 16 | |||
| 17 | const FETCH_PLAN_RELATIVE_LINK = "/plan"; |
||
| 18 | |||
| 19 | 2 | public function __construct(string $baseUrl, array $apiKeys) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * @param string $planId |
||
| 27 | * @return mixed |
||
| 28 | * @throws \Gbowo\Exception\InvalidHttpResponseException if the response code is not 200 |
||
| 29 | */ |
||
| 30 | 2 | public function handle(string $planId) |
|
| 46 | } |
||
| 47 |