thephpleague / tactician-container

Load Tactician handlers from any PSR-11/container-interop container
MIT License
75 stars 8 forks source link

Needs to be updated for compatibility with league/container 2x? #7

Closed bradhanebury closed 8 years ago

rosstuck commented 9 years ago

Sorry about this, I haven't had a chance to look at this or if League\Container 2.0 has landed yet. If you'd like to provide a PR or some details about what I need to change, I'd be glad to review?

Alternately, I'm recommending folks use the standard CallableListener that ships with Tactician core, rather than an individual adapter for every container out there. https://github.com/thephpleague/tactician/blob/master/src/Handler/Locator/CallableLocator.php

spekkionu commented 9 years ago

Take a look at pull request #6 I submitted a while back for upgrading to League\Container 2.0 (which has a stable release now).

Because League\Container 2.x implements container-interop/container-interop upgrading will allow this package to work with any container that also implements the container-interop interface rather than just the league/container package.

rosstuck commented 8 years ago

See #8 for a status update but dev-master should work for now. Sorry for the long delay on this!