bundle/Command/InstallCommand.php
protected function writeSection($text, $style = 'bg=blue;fg=white')
    {
        $this->output->writeln(
            array(
                '',
                $this->getHelper('formatter')->formatBlock($text, $style, true),
                '',
            )
        );
    }
protected function writeSection($text, $style = 'bg=blue;fg=white')
    {
        $this->output->writeln(
            array(
                '',
                $this->getHelper('formatter')->formatBlock($text, $style, true),
                '',
            )
        );
    }
Writes a section of text to the output.

@param string|array $text
@param string $style