Skip to content

Commit d131464

Browse files
committed
Removed unnecessary versionadded directives
1 parent 44b8d03 commit d131464

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -300,15 +300,6 @@ argument of type ``service_locator``:
300300
])]);
301301
};
302302
303-
.. versionadded:: 4.2
304-
305-
The ability to add services without specifying an array key was introduced
306-
in Symfony 4.2.
307-
308-
.. versionadded:: 4.2
309-
310-
The ``service_locator`` argument type was introduced in Symfony 4.2.
311-
312303
As shown in the previous sections, the constructor of the ``CommandBus`` class
313304
must type-hint its argument with ``ContainerInterface``. Then, you can get any of
314305
the service locator services via their ID (e.g. ``$this->locator->get('App\FooCommand')``).

0 commit comments

Comments
 (0)