Skip to content

Commit 9f1c2b8

Browse files
committed
Merge branch '4.4' into 5.1
* 4.4: Delete duplicated words
2 parents b775d33 + f1f44c4 commit 9f1c2b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

service_container/tags.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -783,9 +783,9 @@ indexed by the ``key`` attribute:
783783
};
784784
785785
After compilation the ``HandlerCollection`` is able to iterate over your
786-
application handlers. To retrieve a specific service by it's ``key`` attribute
787-
from the iterator, we can use ``iterator_to_array`` and retrieve the ``handler_two``:
788-
to get an array and then retrieve the ``handler_two`` handler::
786+
application handlers. To retrieve a specific service from the iterator, call the
787+
``iterator_to_array()`` function and then use the ``key`` attribute to get the
788+
array element. For example, to retrieve the ``handler_two`` handler::
789789

790790
// src/Handler/HandlerCollection.php
791791
namespace App\Handler;

0 commit comments

Comments
 (0)