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