use Symfony\Component\Console\Output\ConsoleOutput; use Symfony\Component\Console\Output\OutputInterface; $output = new ConsoleOutput(); $output->writeln("Hello World! ");
use Symfony\Component\Console\Output\ConsoleOutput; use Symfony\Component\Console\Output\OutputInterface; $output = new ConsoleOutput(); $output->setVerbosity(OutputInterface::VERBOSITY_VERBOSE); $output->writeln("This example sets the verbosity level to verbose and outputs the text "This is a verbose message." to the console in a comment format. Package Library: Symfony\Component\ConsoleThis is a verbose message. ");