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 c1d62da commit 4deb3f0Copy full SHA for 4deb3f0
console.rst
@@ -131,7 +131,7 @@ Use input options or arguments to pass information to the command::
131
]);
132
133
// retrieve the argument value using getArgument()
134
- $this->writeln('Username: '.$input->getArgument('username'));
+ $output->writeln('Username: '.$input->getArgument('username'));
135
}
136
137
Now, you can pass the username to the command:
0 commit comments