8000 Add information about default value for decoration_priority option by aivus · Pull Request #9082 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Add information about default value for decoration_priority option #9082

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

Merged
merged 2 commits into from
Jan 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions service_container/service_decoration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ Decoration Priority
Prior to Symfony 2.8, the priority depends on the order in
which definitions are found.

If you want to apply more than one decorator to a service, you can control their
order by configuring the priority of decoration, this can be any integer number
(decorators with higher priorities will be applied first).
When applying multiple decorators to a service, you can control their order with
the ``decoration_priority`` option. Its value is an integer that defaults to
``0`` and higher priorities mean that decorators will be applied earlier.

.. configuration-block::

Expand Down
0