1 | <?php |
||
13 | class Booking |
||
14 | { |
||
15 | /** |
||
16 | * @var HttpClientInterface |
||
17 | */ |
||
18 | private $httpClient; |
||
19 | |||
20 | /** |
||
21 | * Booking constructor. |
||
22 | * @param HttpClientInterface $httpClient |
||
23 | */ |
||
24 | public function __construct(HttpClientInterface $httpClient) |
||
28 | |||
29 | /** |
||
30 | * @param Query $query |
||
31 | * @return Result |
||
32 | * @throws Exceptions\BookingResponseException |
||
33 | */ |
||
34 | public function query(Query $query): Result |
||
40 | } |
||
41 |