We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ef1484 commit 699b6b3Copy full SHA for 699b6b3
.docs/README.md
@@ -138,7 +138,7 @@ final class AddUserCommand extends Command
138
// description (optional)
139
->setDescription('Adds user with given username to database')
140
// arguments (maybe required or not)
141
- ->setArgument('username', InputArgument::REQUIRED, 'User\'s username');
+ ->addArgument('username', InputArgument::REQUIRED, 'User\'s username');
142
// you can list options as well (refer to symfony/console docs for more info)
143
}
144
0 commit comments