Skip to content

Improve documentation about decorating services #1599

Open
@kpodemski

Description

  • 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

Activity

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions