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 1c7ddc9 commit 7345297Copy full SHA for 7345297
service_container/definitions.rst
@@ -29,7 +29,7 @@ There are some helpful methods for working with the service definitions::
29
// get the "app.user_config_manager" definition
30
$definition = $container->getDefinition('app.user_config_manager');
31
// get the definition with the "app.user_config_manager" ID or alias
32
- $definition = $container->findDefinition($serviceId);
+ $definition = $container->findDefinition('app.user_config_manager');
33
34
// add a new "app.number_generator" definitions
35
$definition = new Definition('AppBundle\NumberGenerator');
0 commit comments