laminas-servicemanager: Zend\ServiceManager\Factory\FactoryInterface does not use Psr\Container\ContainerInterface yet
I want to make my factories to use Psr\Container\ContainerInterface
in an Zend\Expressive
project. But the Zend\ServiceManager\Factory\FactoryInterface
does not use Psr\Container\ContainerInterface
yet.
What are the plans about this?
Originally posted by @RalfEggert at https://github.com/zendframework/zend-servicemanager/issues/184
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 3
- Comments: 31 (27 by maintainers)
Since I opened that issue originally and it still annoys me from time to time. Yes please proceed on this one.
Closing here since meanwhile container-interop was replaced and psr-container can now be used.
@javabudd yes, there is some information here and here.
TBH, bumping the servicemanager to a new major will need a huge amount of work in downstream components. We are currently lacking time and developers to handle such a largely coordinated release just for the sake of getting rid of an abandoned interface. Just because its abandoned doesn’t mean that it stops working anytime soon.
Due to the lack of
final
in most factories, a removal of the interop interface in several packages is not possible as well.