8000 minor #9082 Add information about default value for decoration_priori… · symfony/symfony-docs@b23bd17 · GitHub
[go: up one dir, main page]

Skip to content

Commit b23bd17

Browse files
committed
minor #9082 Add information about default value for decoration_priority option (aivus, javiereguiluz)
This PR was merged into the 2.8 branch. Discussion ---------- Add information about default value for decoration_priority option Commits ------- 1cadefb Reword 73cd290 Add information about default value for decoration_priority
2 parents d3dd2f2 + 1cadefb commit b23bd17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

service_container/service_decoration.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,9 +175,9 @@ Decoration Priority
175175
Prior to Symfony 2.8, the priority depends on the order in
176176
which definitions are found.
177177

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

182182
.. configuration-block::
183183

0 commit comments

Comments
 (0)
0