src/Reporter/Terminal.php
public function format($string, $options = null)
    {
        return $this->_colors ? Cli::color($string, $options) : $string;
    }
public function format($string, $options = null)
    {
        return $this->_colors ? Cli::color($string, $options) : $string;
    }
public function format ( $ string , $ options = null ) { return $ this -> _colors ? Cli :: color ( $ string , $ options ) : $ string ; }
Format a string to output.

@param string       $string  The string to format.
@param string|array $options The possible values for an array are:
- `'style`: a style code.
- `'color'`: a color code.
- `'background'`: a background color code.

The string must respect one of the following format:
- `'style;color;background'`
- `'style;color'`
- `'color'`
Format a string to output .