Skip to content

Commit 83a3fe7

Browse files
committed
Remove an unnecessary note
1 parent e8b0d40 commit 83a3fe7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ argument of type ``service_locator``:
293293
294294
$services->set(CommandBus::class)
295295
->args([service_locator([
296-
// In versions earlier to Symfony 5.1 the service() function was called ref()
297296
'App\FooCommand' => service('app.command_handler.foo'),
298297
'App\BarCommand' => service('app.command_handler.bar'),
299298
// if the element has no key, the ID of the original service is used

0 commit comments

Comments
 (0)