Skip to content

Commit 84897c0

Browse files
committed
fix method name
1 parent 0025e3a commit 84897c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container/alias_private.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ The following example shows how to inject an anonymous service into another serv
284284
$services = $configurator->services();
285285
286286
$services->set(Foo::class)
287-
// In versions earlier to Symfony 5.1 the inline_service() function was called service()
287+
// In versions earlier to Symfony 5.1 the inline_service() function was called inline()
288288
->args([inline_service(AnonymousBar::class)])
289289
};
290290

0 commit comments

Comments
 (0)