Skip to content

Commit fd00af8

Browse files
committed
Minor tweak
1 parent b2826f4 commit fd00af8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

service_container/definitions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ fetched from the container::
9090
// gets a specific argument
9191
$firstArgument = $definition->getArgument(0);
9292
93-
// adds a new argument with the name of the argument
94-
// $argumentName = the name of the argument in the constructor
93+
// adds a new named argument
94+
// '$argumentName' = the name of the argument in the constructor, including the '$' symbol
9595
$definition = $definition->setArgument('$argumentName', $argumentValue);
9696

9797
// adds a new argument

0 commit comments

Comments
 (0)