Bolt\Nut\ExtensionsSetup::outputResult PHP Method

outputResult() private method

Output the relevant result.
private outputResult ( Symfony\Component\Console\Output\OutputInterface $output, integer $result )
$output Symfony\Component\Console\Output\OutputInterface
$result integer
    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);
    }