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.
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.