Skip to content

Commit

Permalink
Updating README again and added a VERSION constant.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremeamia committed Sep 25, 2013
1 parent b73d158 commit 5866ded
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,17 @@ $exists = $container->has('foo');
* [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)
* [Pimple](https://github.com/fabpot/Pimple/blob/master/lib/Pimple.php)
* [Silex Application](https://github.com/fabpot/Silex/blob/master/src/Silex/Application.php)
* [Symfony Dependency Injection Container](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/DependencyInjection/ContainerInterface.php)
* [ZF2 Service Manager](https://github.com/zendframework/zf2/blob/master/library/Zend/ServiceManager/ServiceLocatorInterface.php)
* [ZF2 Dependency Injection](https://github.com/zendframework/zf2/blob/master/library/Zend/Di/ServiceLocatorInterface.php)
* Any other object that implements `ArrayAccess` ([see PHP Manual](http://php.net/manual/en/class.arrayaccess.php))

## What if the Container I Use is Not Supported?

*Please consider submitting a Pull Request with an adapter for your container and corresponding test.*
*Please consider submitting a Pull Request with an adapter for your container and a corresponding test.*

Before you get that point though, you create the adapter yourself (which is *really* easy to do, just look at the
Before you get that point though, you can create the adapter yourself (which is *really* easy to do, just look at the
included ones), and use the `Acclimate::registerAdapter` method to wire up your adapter to Acclimate. You will need to
provide the fully qualified class name (FQCN) of both the adapter class and the base class/interface of the container
you want to be able to adapt.
Expand Down
2 changes: 2 additions & 0 deletions src/Jeremeamia/Acclimate/Acclimate.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
*/
class Acclimate
{
const VERSION = '0.1.0';

/**
* @var array Map of container classes to container adapter class
*/
Expand Down

0 comments on commit 5866ded

Please sign in to comment.