Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

codedmonkey
Copy link
Contributor

Attempts to fix #5854 for Symfony 2.8

@codedmonkey codedmonkey changed the base branch from master to 2.8 June 11, 2018 12:02
@greg0ire
Copy link
Contributor

Are you sure it only works for XML: symfony/symfony#21970 ?

@codedmonkey
Copy link
Contributor Author

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::
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we don't need the configuration-block here when we only have one config format

javiereguiluz added a commit that referenced this pull request Jun 27, 2018
This PR was merged into the 2.8 branch.

Discussion
----------

Add section about anonymous services

Attempts to fix #5854 for Symfony 2.8

Commits
-------

f777445 Add section about anonymous services
@javiereguiluz
Copy link
Member

@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!

@codedmonkey codedmonkey deleted the fix_5854 branch July 5, 2018 14:49
javiereguiluz added a commit that referenced this pull request Jul 11, 2018
…aan)

This PR was merged into the 3.4 branch.

Discussion
----------

Add section about anonymous services in YAML

Fixes #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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.