diff --git a/components/console/introduction.rst b/components/console/introduction.rst index d70fa17374e..b149efe711f 100644 --- a/components/console/introduction.rst +++ b/components/console/introduction.rst @@ -229,6 +229,9 @@ level. For example:: $output->writeln(...); } + // alternatively you can pass the verbosity level to writeln() + $output->writeln('...', OutputInterface::VERBOSITY_VERBOSE); + There are also more semantic methods you can use to test for each of the verbosity levels::