Event API Feature Parity - THIS RELEASE BREAKS BACKWARDS COMPATIBILITY
Fixes the following issues:
Backwards compatibility changes:
- Event API has been corrected to match Orchestrate's non-deprecated usage. It was originally implemented before the new Event API was released.
- Client instantiation now has 3 parameters: $apiKey, $baseUrl, $httpClient. The $apiKey is still the only required parameter. The $baseUrl is new and was added before the $httpClient to allow changing to the Orchestrate Amazon EU West instance. This seemed like it would be more common than swapping the $httpClient.
- The client no longer swallows exceptions. 4xx and 5xx errors are caught and re-thrown as exceptions in the SocalNick\Orchestrate namespace. Other errors / exceptions from Guzzle HTTP client will pass through.