diff --git a/service_container/tags.rst b/service_container/tags.rst index bf8f6959db4..6783ef06d4e 100644 --- a/service_container/tags.rst +++ b/service_container/tags.rst @@ -807,7 +807,7 @@ array element. For example, to retrieve the ``handler_two`` handler:: .. tip:: Just like the priority, you can also implement a static - ``getDefaultIndexAttributeName()`` method in the handlers and omit the + ``getDefaultIndexName()`` method in the handlers and omit the index attribute (``key``):: // src/Handler/One.php