Command/ApisearchCommand.php
protected static function configureFormatter(OutputInterface $output)
    {
        $formatter = $output->getFormatter();
        $formatter->setStyle('system', new OutputFormatterStyle('green'));
        $formatter->setStyle('line', new OutputFormatterStyle('yellow'));
        $formatter->setStyle('fail', new OutputFormatterStyle('red'));
        $formatter->setStyle('info', new OutputFormatterStyle('blue'));
        $formatter->setStyle('body', new OutputFormatterStyle('white'));
        $formatter->setStyle('strong', new OutputFormatterStyle(null, null, ['bold']));
    }
protected static function configureFormatter(OutputInterface $output)
    {
        $formatter = $output->getFormatter();
        $formatter->setStyle('system', new OutputFormatterStyle('green'));
        $formatter->setStyle('line', new OutputFormatterStyle('yellow'));
        $formatter->setStyle('fail', new OutputFormatterStyle('red'));
        $formatter->setStyle('info', new OutputFormatterStyle('blue'));
        $formatter->setStyle('body', new OutputFormatterStyle('white'));
        $formatter->setStyle('strong', new OutputFormatterStyle(null, null, ['bold']));
    }
protected static function configureFormatter ( OutputInterface $ output ) { $ formatter = $ output -> getFormatter ( ) ; $ formatter -> setStyle ( 'system' , new OutputFormatterStyle ( 'green' ) ) ; $ formatter -> setStyle ( 'line' , new OutputFormatterStyle ( 'yellow' ) ) ; $ formatter -> setStyle ( 'fail' , new OutputFormatterStyle ( 'red' ) ) ; $ formatter -> setStyle ( 'info' , new OutputFormatterStyle ( 'blue' ) ) ; $ formatter -> setStyle ( 'body' , new OutputFormatterStyle ( 'white' ) ) ; $ formatter -> setStyle ( 'strong' , new OutputFormatterStyle ( null , null , [ 'bold' ] ) ) ; }
Configure formatter with Apisearch specific style.

@param OutputInterface $output
Configure formatter with Apisearch specific style .