Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.

Commit 99a9078

Browse files
committed
Add information on negative priority
1 parent b695333 commit 99a9078

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/doc/bundle-configuration-service-definition-rewriting.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ configuration key the rewriter is using so it can
106106
2. get passed the correct (and resolved / parsed) bundle configuration to work with
107107

108108
The tag attribute ``priority`` is optional and can be used to establish a processing order amongst the rewriters.
109-
As per usual with priorities in Symfony service tags, they are integers and higher priorities get executed earlier than
110-
lower ones. Default priority is 0.
109+
As per usual with priorities in Symfony service tags, they are integers, they can be negative, and higher priorities get
110+
executed earlier than lower ones. Default priority is 0.
111111

112112
If you have written a Bundle Configuration Service Definition Rewriter for a Symfony bundle that is either part of the
113113
Symfony Standard Edition or very popular in its own right, please feel free to submit a pull request for it,

0 commit comments

Comments
 (0)