Skip to content

Commit

Permalink
Merge pull request #40 from jeremeamia/deprecating-guzzle
Browse files Browse the repository at this point in the history
Deprecating Guzzle
  • Loading branch information
Sam-Burns committed Mar 3, 2016
2 parents 7c7202c + 4434421 commit 7de0d2e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ Command design pattern. You can also use the `FailoverOnMissContainer` decorator
## Supported Containers

* [Aura.Di Container](https://github.com/auraphp/Aura.Di/blob/develop/src/Aura/Di/ContainerInterface.php)
* [Guzzle Service Builder](https://github.com/guzzle/service/blob/master/Builder/ServiceBuilderInterface.php)
* [Laravel Container](https://github.com/laravel/framework/blob/master/src/Illuminate/Container/Container.php)
* [Nette DI Container](https://github.com/nette/nette/blob/master/Nette/DI/Container.php)
* [PHP-DI Container](https://github.com/mnapoli/PHP-DI/blob/master/src/DI/Container.php)
Expand All @@ -184,6 +183,12 @@ Command design pattern. You can also use the `FailoverOnMissContainer` decorator
Also, the [Silex Application](https://github.com/fabpot/Silex/blob/master/src/Silex/Application.php) and other projects
descending from Pimple can be used with Acclimate as well.

## Deprecated Containers

Support for the following containers is deprecated in version 1.1, and will be removed in 2.0:

* [Guzzle Service Builder](https://github.com/guzzle/service/blob/master/Builder/ServiceBuilderInterface.php)

### What if the Container I use is not supported?

*Please consider submitting a Pull Request with an adapter for your container and a corresponding test.*
Expand Down
1 change: 1 addition & 0 deletions src/Adapter/GuzzleContainerAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Interop\Container\ContainerInterface as AcclimateContainerInterface;

/**
* @deprecated in v1.1
* An adapter from a Guzzle ServiceBuilder to the standardized ContainerInterface
*/
class GuzzleContainerAdapter implements AcclimateContainerInterface
Expand Down

0 comments on commit 7de0d2e

Please sign in to comment.