我想知道在Zend Framework 3中为工厂提供创建选项的MutableCreationOptionsInterface
的替代方法是什么?
我非常愚蠢,没有意识到:现在使用$container->get(SomeClass, $options)
将选项传递给ContainerInterface
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.