You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: service_container/tags.rst
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -612,7 +612,8 @@ The tagged services can be prioritized using the ``priority`` attribute:
612
612
Note that any other custom attribute will be ignored by this feature.
613
613
614
614
615
-
Another option, which is particularly useful when using autoconfiguring tags, is to implement the ``getDefaultPriority`` static method on a collected class::
615
+
Another option, which is particularly useful when using autoconfiguring tags, is to implement the
616
+
static ``getDefaultPriority`` method on the service itself::
0 commit comments