diff options
Diffstat (limited to 'phork0.php')
| -rw-r--r-- | phork0.php | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -13,14 +13,11 @@ class MyCommand extends Command protected function execute(InputInterface $input, OutputInterface $output): int
{
$ioV = new SymfonyStyle($input, $output->isVerbose() ? $output : new NullOutput());
- $this->ioVV = new SymfonyStyle(
- $input,
- $output->isVeryVerbose() ? $output : new NullOutput()
- );
- $this->ioVVV = new SymfonyStyle($input, $output->isDebug() ? $output : new NullOutput());
+ $ioVV = new SymfonyStyle($input, $output->isVeryVerbose() ? $output : new NullOutput());
+ $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');
+ $ioV->writeln('message visible with -v only');
+ $ioVV->writeln('message visible with -vv only');
+ $ioVVV->writeln('message visible with -vvv only');
}
}
\ No newline at end of file |
