Skip to content
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

[ServiceContainer] Remove implementation details of private services #7021

Conversation

lemoinem
Copy link
Contributor

@lemoinem lemoinem commented Oct 1, 2016

Since symfony/symfony#19708, getting private services through Container::get() is deprecated in the cases where it worked up to now, and this will removed in 4.0. The ways a container optimizes private services instanciation are not useful information anymore and is confusing to some (see #6959). I removed the mentions of these implementations details to make the documentation clearer.

@javiereguiluz
Copy link
Member

👍

@wouterj wouterj merged commit a529157 into symfony:master Oct 20, 2016
wouterj added a commit that referenced this pull request Oct 20, 2016
…vate services (lemoinem)

This PR was merged into the master branch.

Discussion
----------

[ServiceContainer] Remove implementation details of private services

Since symfony/symfony#19708, getting private services through `Container::get()` is deprecated in the cases where it worked up to now, and this will removed in 4.0. The ways a container optimizes private services instanciation are not useful information anymore and is confusing to some (see #6959). I removed the mentions of these implementations details to make the documentation clearer.

Commits
-------

a529157 [ServiceContainer] Remove any references to the implementation details of private services
wouterj added a commit that referenced this pull request Oct 20, 2016
@wouterj
Copy link
Member

wouterj commented Oct 20, 2016

Thanks @lemoinem! I agree with all changes you made here.

Only change I made while merging was a little typo fix (6a7b054).

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.

None yet

4 participants