Skip to content

Improve documentation about decorating services #1599

@kpodemski

Description

@kpodemski
  • 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

Metadata

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