src/ConsoleColor.php
protected function colorize($str, $attrs)
    {
        $start = $this->start($attrs);

        return $start.$str.$this->end();
    }
protected function colorize($str, $attrs)
    {
        $start = $this->start($attrs);

        return $start.$str.$this->end();
    }
Colorize the string.

@param string $str
@param array  $attrs

@return string