Skip to content

Commit 81cd5bc

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

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
@@ -607,7 +607,9 @@ The tagged services can be prioritized using the ``priority`` attribute:
607607
$container->register(App\Handler\One::class)
608608
->addTag('app.handler', ['priority' => 20]);
609609
610-
Note that any other custom attributes will be ignored by this feature.
610+
.. note::
611+
612+
Note that any other custom attribute will be ignored by this feature.
611613

612614

613615
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)