Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

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

Sign up
Appearance settings

Commit07af97a

Browse files
Update service_container/tags.rst
Co-Authored-By: Oskar Stark <oskarstark@googlemail.com>
1 parentf9fb249 commit07af97a

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)

[8]ページ先頭

©2009-2025 Movatter.jp