We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69f7dce commit 574128fCopy full SHA for 574128f
service_container/service_subscribers_locators.rst
@@ -362,7 +362,7 @@ will share identical locators amongst all the services referencing them::
362
'logger' => new Reference('logger'),
363
);
364
365
- $myService->addArgument(ServiceLocatorTagPass::register($locateableServices));
+ $myService->addArgument(ServiceLocatorTagPass::register($container, $locateableServices));
366
}
367
368
.. _`Command pattern`: https://en.wikipedia.org/wiki/Command_pattern
0 commit comments