isVerbose() ? $output : new NullOutput()); $this->ioVV = new SymfonyStyle( $input, $output->isVeryVerbose() ? $output : new NullOutput() ); $this->ioVVV = new SymfonyStyle($input, $output->isDebug() ? $output : new NullOutput()); $this->ioV->writeln('message visible with -v only'); $this->ioVV->writeln('message visible with -vv only'); $this->ioVVV->writeln('message visible with -vvv only'); } }