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

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 07af97a

Browse files
Update service_container/tags.rst
Co-Authored-By: Oskar Stark <oskarstark@googlemail.com>
1 parent f9fb249 commit 07af97a

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
@@ -612,7 +612,8 @@ The tagged services can be prioritized using the ``priority`` attribute:
612612
Note that any other custom attribute will be ignored by this feature.
613613

614614

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

617618
// src/App/Handler/One.php
618619
namespace App/Handler;

0 commit comments

Comments
 (0)
0