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
@@ -627,7 +627,8 @@ The tagged services can be prioritized using the ``priority`` attribute:
627
627
Note that any other custom attribute will be ignored by this feature.
628
628
629
629
630
-
Another option, which is particularly useful when using autoconfiguring tags, is to implement the ``getDefaultPriority`` static method on a collected class::
630
+
Another option, which is particularly useful when using autoconfiguring tags, is to implement the
631
+
static ``getDefaultPriority`` method on the service itself::
0 commit comments