Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d131464

Browse filesBrowse files
committed
Removed unnecessary versionadded directives
1 parent 44b8d03 commit d131464
Copy full SHA for d131464

File tree

1 file changed

+0
-9
lines changed
Filter options

1 file changed

+0
-9
lines changed

‎service_container/service_subscribers_locators.rst

Copy file name to clipboardExpand all lines: service_container/service_subscribers_locators.rst
-9Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.