| 1 | <?php |
||
| 24 | class GuzzleApiClient extends DefaultApiClient |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * Options which come from Bundle configuration. |
||
| 28 | * |
||
| 29 | * @var array |
||
| 30 | */ |
||
| 31 | protected $options = []; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | protected function sendRequest(RequestInterface $request) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Merges property options with request options. |
||
| 49 | * |
||
| 50 | * @param array $options Request options |
||
| 51 | * |
||
| 52 | * @return array |
||
| 53 | */ |
||
| 54 | public function addDefaultOptions($options) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Sets default options. |
||
| 61 | * |
||
| 62 | * @param array $options |
||
| 63 | * |
||
| 64 | * @return self |
||
| 65 | */ |
||
| 66 | public function setOptions(array $options) |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Get options. |
||
| 75 | * |
||
| 76 | * @return array |
||
| 77 | */ |
||
| 78 | public function getOptions() |
||
| 82 | } |
||
| 83 |