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

Make all bundle services private #409

Merged
merged 1 commit into from
Apr 9, 2018
Merged

Make all bundle services private #409

merged 1 commit into from
Apr 9, 2018

Conversation

curry684
Copy link
Collaborator

@curry684 curry684 commented Apr 9, 2018

Since Symfony 3.4 recommended practice is to keep all services private
and use declarative dependency injection.

Closes #384

Since Symfony 3.4 recommended practice is to keep all services private
and use declarative dependency injection.

Closes #384
@curry684 curry684 added dx Developer eXperience enhancement Improves existing functionality labels Apr 9, 2018
@curry684 curry684 added this to the 3.0 milestone Apr 9, 2018
@curry684 curry684 requested a review from Seldaek April 9, 2018 10:56
@curry684 curry684 merged commit 17babca into master Apr 9, 2018
@curry684 curry684 deleted the issue-384 branch April 9, 2018 11:37
@umpirsky
Copy link

@curry684
Copy link
Collaborator Author

Nope, good one, we'll have to fix that.

@umpirsky
Copy link

I'd love to see how, I have a similar problem in my project. Reported #418. Thanks!

@curry684
Copy link
Collaborator Author

Symfony offers the concept of a ServiceLocator where you can inject other services to be created lazily 😉

@umpirsky
Copy link

Great, waiting for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dx Developer eXperience enhancement Improves existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants