diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2026-04-16 09:01:33 +0200 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2026-04-16 09:01:33 +0200 |
| commit | 768e8f4ff27842401d8faa8cac8fd0e5db413ac4 (patch) | |
| tree | e809ff40a8eed667acaaeddca68ef94b559ed3b7 | |
| parent | e67bdc8973e44cd405b6e6910b14383c4e374725 (diff) | |
| download | 965-768e8f4ff27842401d8faa8cac8fd0e5db413ac4.tar.gz 965-768e8f4ff27842401d8faa8cac8fd0e5db413ac4.zip | |
| -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 |
