Comments (2)
Thank you for this issue. I didn't provide all keys from the service manager configuration.
However, you are welcome to enhance the implementation.
from zend-di-config.
I added the config test suite. In the creation method you need to add dependencies key to your $config.
Second, as we are using autowire technique, the invalid tests won't be correct, because the container would resolve automatically the object, as per example, Delegator.class.
However, I figured out that invokables should be an array of services as well as key/name array and when the key is different than the name, we should aliased the name. I will create an issue for that, and do not hesitate to create more issues.
thx @gdsmith !
from zend-di-config.
Related Issues (20)
- Use Expressive Skeleton installer with PHP-DI results in error? HOT 10
- Allow to declare custom definitions HOT 9
- Consider to change namespace HOT 8
- Zend\Di namespace HOT 4
- Update contributing.md document
- Add 7.3 support to travis
- Allow to disable use autowire
- Launch composer update HOT 1
- Circular dependency detected HOT 3
- Update composer HOT 2
- Make overridden delegator idempotent
- Delete container-interop/container-interop HOT 2
- migrate to laminas framework
- scalar constructor / property injection etc. HOT 1
- Compile with Delegators HOT 3
- migration to php 8 HOT 2
- Psalm (static analysis tool) integration instead of phpstan
- Support writing proxy classes to files HOT 5
- Container compilation and delegators HOT 3
- PHP8.1 Compatibility HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zend-di-config.