| @@ 105-114 (lines=10) @@ | ||
| 102 | * @param OutputInterface $output |
|
| 103 | * @param $message |
|
| 104 | */ |
|
| 105 | private function comment(InputInterface $input, OutputInterface $output, $message) |
|
| 106 | { |
|
| 107 | $io = $this->getIO($input, $output); |
|
| 108 | ||
| 109 | if (null !== $io) { |
|
| 110 | $io->comment($message); |
|
| 111 | } else { |
|
| 112 | $output->writeln(sprintf('<comment>%s</comment>', $message)); |
|
| 113 | } |
|
| 114 | } |
|
| 115 | ||
| 116 | /** |
|
| 117 | * @param InputInterface $input |
|
| @@ 121-130 (lines=10) @@ | ||
| 118 | * @param OutputInterface $output |
|
| 119 | * @param $message |
|
| 120 | */ |
|
| 121 | private function success(InputInterface $input, OutputInterface $output, $message) |
|
| 122 | { |
|
| 123 | $io = $this->getIO($input, $output); |
|
| 124 | ||
| 125 | if (null !== $io) { |
|
| 126 | $io->success($message); |
|
| 127 | } else { |
|
| 128 | $output->writeln(sprintf('<info>%s</info>', $message)); |
|
| 129 | } |
|
| 130 | } |
|
| 131 | ||
| 132 | /** |
|
| 133 | * @param InputInterface $input |
|