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

Getting private services from container is deprecated since Symfony 3.2 #307

Closed
joshgh opened this issue Jan 5, 2018 · 2 comments
Closed
Labels

Comments

@joshgh
Copy link

joshgh commented Jan 5, 2018

Q A
Bug report? no
Feature request? no
BC Break report? no
Used Version 1.0.6

When accessing the auditReader service as described in the README, the following deprecation notice is thrown by Symfony (I am using Symfony 3.4):
User Deprecated: The "simplethings_entityaudit.reader" service is private, getting it from the container is deprecated since Symfony 3.2 and will fail in 4.0. You should either make the service public, or stop using the container directly and use dependency injection instead.

@W0rma
Copy link

W0rma commented Nov 27, 2019

Should have been fixed in #316

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants