Skip to content

Commit 19e0a31

Browse files
Update service_container/tags.rst
Co-Authored-By: Oskar Stark <oskarstark@googlemail.com>
1 parent 840a01c commit 19e0a31

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

service_container/tags.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,9 @@ The tagged services can be prioritized using the ``priority`` attribute:
622622
$container->register(App\Handler\One::class)
623623
->addTag('app.handler', ['priority' => 20]);
624624
625-
Note that any other custom attributes will be ignored by this feature.
625+
.. note::
626+
627+
Note that any other custom attribute will be ignored by this feature.
626628

627629

628630
Another option, which is particularly useful when using autoconfiguring tags, is to implement the ``getDefaultPriority`` static method on a collected class::

0 commit comments

Comments
 (0)