private function outputResult(OutputInterface $output, $result) { if ($result === 0) { $output->write("<info>[DONE]</info>\n"); } else { $output->write("<error>[FAILED]</error>\n"); } $output->writeln(sprintf('<comment>%s</comment>', $this->app['extend.action.io']->getOutput()), OutputInterface::OUTPUT_PLAIN); }