Comments (6)
The original form was made for extending purposes. For example, the package may support any other custom things and simpler to use new short word with @
instead of thinking about another char because @
already means tags.
from di.
The original form was made for extending purposes. For example, the package may support any other custom things and simpler to use new short word with @ instead of thinking about another char because @ already means tags.
Dou you mean #
?
from di.
I mean tag@
is ok to be able to add some new shortcuts like decorator@
or something else. This form allows you just add new word instead of add more and more characters.
from di.
Hm. How can work $container->get('decorator@XXX');
?
Has ideas anything keywords for use in get()
?
from di.
We can probably support both.
from di.
Hm. How can work
$container->get('decorator@XXX');
?
It doesn't matter how it can work. That's a showcase.
Has ideas anything keywords for use in
get()
?
Sorry, I don't understand you.
from di.
Related Issues (20)
- New in initializers in PHP 8.1 HOT 7
- Container doesn't resolve properties of already built instances after their state reset HOT 2
- Add Attributes to inject scalar definitions & tags HOT 1
- Check tag services array in `Container::setTags()` on empty HOT 4
- Improve UX adding short syntax passing string reference to methods' calls
- Incorrect parameter reference in error message
- Add ability to set classes when resolving which an exception should be thrown HOT 5
- Make `BuildingException` friendly
- Dynamic bindings HOT 2
- Proposal to Add Reference::tag Method HOT 4
- Add debug commands
- update irc link
- update src folder links
- update root folder links
- Need update documentation
- Prevent run GitHub Actions when change non-code files
- Factory call from container config HOT 3
- Remove scrutinizer
- Convert all exceptions into Friendly Exceptions HOT 1
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 di.