Skip to content

Commit 58f0f09

Browse files
committed
Added an example for a different method of verbosity level usage.
1 parent 09a3381 commit 58f0f09

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

components/console/introduction.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ level. For example::
229229
$output->writeln(...);
230230
}
231231

232+
// alternatively you can pass the verbosity level to writeln()
233+
$output->writeln('...', OutputInterface::VERBOSITY_VERBOSE);
234+
232235
There are also more semantic methods you can use to test for each of the
233236
verbosity levels::
234237

0 commit comments

Comments
 (0)