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 b2826f4 commit fd00af8Copy full SHA for fd00af8
service_container/definitions.rst
@@ -90,8 +90,8 @@ fetched from the container::
90
// gets a specific argument
91
$firstArgument = $definition->getArgument(0);
92
93
- // adds a new argument with the name of the argument
94
- // $argumentName = the name of the argument in the constructor
+ // adds a new named argument
+ // '$argumentName' = the name of the argument in the constructor, including the '$' symbol
95
$definition = $definition->setArgument('$argumentName', $argumentValue);
96
97
// adds a new argument
0 commit comments