Skip to content

Commit 8b26d01

Browse files
committed
Update example to use tagged_locator helper function
1 parent 57809fb commit 8b26d01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/service_subscribers_locators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ attribute to the locator service defining the name of this custom method:
555555
return function(ContainerConfigurator $configurator) {
556556
$configurator->services()
557557
->set(App\HandlerCollection::class)
558-
->args([service_locator(tagged('app.handler', null, 'myOwnMethodName'))])
558+
->args([tagged_locator('app.handler', null, 'myOwnMethodName')])
559559
;
560560
};
561561

0 commit comments

Comments
 (0)