src/Output.php
public static function colorize($string, $color)
    {
        if (isset(self::$colors[$color])) {
            return "\033[" . self::$colors[$color] . 'm' . $string . "\033[0m";
        }

        return $string;
    }
public static function colorize($string, $color)
    {
        if (isset(self::$colors[$color])) {
            return "\033[" . self::$colors[$color] . 'm' . $string . "\033[0m";
        }

        return $string;
    }
public static function colorize ( $ string , $ color ) { if ( isset ( self :: $ colors [ $ color ] ) ) { return "\033[" . self :: $ colors [ $ color ] . 'm' . $ string . "\033[0m" ; } return $ string ; }
This method is used to colorize some text

@param string $string the text to be colorized
@param string $color the color to colorize your

@return string
This method is used to colorize some text