8000 Update service_container/tags.rst · symfony/symfony-docs@15c6007 · GitHub
[go: up one dir, main page]

Skip to content

Commit 15c6007

Browse files
Update service_container/tags.rst
Co-Authored-By: Oskar Stark <oskarstark@googlemail.com>
1 parent 50db34f commit 15c6007

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

service_container/tags.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,8 @@ The tagged services can be prioritized using the ``priority`` attribute:
627627
Note that any other custom attribute will be ignored by this feature.
628628

629629

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::
631632

632633
// src/App/Handler/One.php
633634
namespace App/Handler;

0 commit comments

Comments
 (0)
0