From 73452972cfa8e8b3e6ce668b9ac695a87c42354c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gytis=20=C5=A0k?= Date: Sun, 4 Dec 2016 19:01:55 +0200 Subject: [PATCH] Replace undefined argument with intended string argument --- service_container/definitions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service_container/definitions.rst b/service_container/definitions.rst index cab240004f3..ffdc3a6a66e 100644 --- a/service_container/definitions.rst +++ b/service_container/definitions.rst @@ -29,7 +29,7 @@ There are some helpful methods for working with the service definitions:: // get the "app.user_config_manager" definition $definition = $container->getDefinition('app.user_config_manager'); // get the definition with the "app.user_config_manager" ID or alias - $definition = $container->findDefinition($serviceId); + $definition = $container->findDefinition('app.user_config_manager'); // add a new "app.number_generator" definitions $definition = new Definition('AppBundle\NumberGenerator');