Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Add section about anonymous services#9909
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
greg0ire commentedJun 19, 2018
Are you sure it only works for XML:symfony/symfony#21970 ? |
codedmonkey commentedJun 19, 2018
Yes, I should've been clear, since support for anonymous services was added to other formats in later versions, they need to be added in other branches and thus require a seperate PR, which I'll submit as soon as this one is approved by a qualified person. |
| identifying name which is defined directly in its use context. The following | ||
| example shows how an anonymous service can be injected into another service: | ||
| ..configuration-block:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
we don't need theconfiguration-block here when we only have one config format
javiereguiluz commentedJun 27, 2018
@codedmonkey thanks for providing the docs for this feature. Now we'll merge this into upper branches and everything will be ready to add the YAML and PHP versions of this code in other branches. Thanks! |
…aan)This PR was merged into the 3.4 branch.Discussion----------Add section about anonymous services in YAMLFixes#7694.This is a continuation of#9909 which added some information about anonymous services in XML to the docs, next will be a commit that describes configuring anonymous services in PHP for the `master` branch. For further information about the issue, see#5854.Commits-------8a83664 Add section about anonymous services in YAML
Attempts tofix#5854 for Symfony 2.8