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

Improve documentation about decorating services #1599

Open
2 tasks
kpodemski opened this issue Jan 17, 2023 · 0 comments
Open
2 tasks

Improve documentation about decorating services #1599

kpodemski opened this issue Jan 17, 2023 · 0 comments

Comments

@kpodemski
Copy link
Contributor

  • add a notice that you can ignore decorating non-existing services, which should be helpful if you work on a module that has to work on many core versions, details below
  • provide an example module

Fail silently:
decoration_on_invalid: ignore

details:
https://symfony.com/doc/4.4/service_container/service_decoration.html#control-the-behavior-when-the-decorated-service-does-not-exist

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

No branches or pull requests

1 participant