Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

No longer recommend injecting the service container#13486

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

Conversation

wouterj
Copy link
Member

Fixes#13469

I think it makes sense to no longer document injecting the service container. Service subscriber is the better alternative in any case.

I actually also thought about removing setting a service public at all. But let's keep it for now (it is sometimes usefull in tests see e.g.symfony/symfony#36147 and#12647 . It's also a bit weird to have a "Public Versus Private Services" section that only discusses "private" services

@wouterjwouterj added this to the5.1 milestoneApr 4, 2020
@wouterjwouterjforce-pushed theissue-13469/containerinterface-alias branch from07e91ef to156ac13CompareApril 4, 2020 13:34
@javiereguiluz
Copy link
Member

Thanks Wouter!

@javiereguiluzjaviereguiluz merged commit3cf3035 intosymfony:masterApr 6, 2020
@wouterjwouterj deleted the issue-13469/containerinterface-alias branchApril 6, 2020 12:47
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@maxheliasmaxheliasmaxhelias approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
5.1
Development

Successfully merging this pull request may close these issues.

[DependencyInjection] Deprecate ContainerInterface aliases
4 participants
@wouterj@javiereguiluz@maxhelias@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp