PHP-DI / Symfony-Bridge

PHP-DI integration with Symfony
http://php-di.org/doc/frameworks/symfony2.html
Other
17 stars 11 forks source link

Allow usage with php-di 5 #10

Closed avant1 closed 9 years ago

avant1 commented 9 years ago

Since \DI\Container class in php-di 4 and php-di 5 implements \Interop\Container\ContainerInterface, I don't see any problems to allow symfony2-bridge usage with php-di 5.

The only problem was with dependency set-up: you could not install php-di 5 and this package together. This PR fixes problem.

For now I'm using php-di 5 and symfony 2.7 using my fork with this commit, everything works fine.

mnapoli commented 9 years ago

Thank you! I'll create a new release straightaway.

avant1 commented 9 years ago

Great, thanks!