File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -596,8 +596,9 @@ Tagged Services with Priority
596596
597597 The ability to prioritize tagged services was introduced in Symfony 4.4.
598598
599- The tagged services can be prioritized using the ``priority `` attribute,
600- thus providing a way to inject a sorted collection of services:
599+ The tagged services can be prioritized using the ``priority `` attribute.
600+ The priority is a positive or negative integer. The higher the number,
601+ the earlier the tagged service will be located in the collection:
601602
602603.. configuration-block ::
603604
@@ -655,7 +656,7 @@ service itself::
655656 }
656657 }
657658
658- If you want to have another method defining the priority
659+ If you want to have another method defining the priority
659660(e.g. ``getPriority() `` rather than ``getDefaultPriority() ``),
660661you can define it in the configuration of the collecting service:
661662
You can’t perform that action at this time.
0 commit comments