ansiFormat() public method
Formats a string with ANSI codes
You may pass additional parameters using the constants defined in yii\helpers\Console.
Example:
echo $this->ansiFormat('This will be red and underlined.', Console::FG_RED, Console::UNDERLINE);
 | public string ansiFormat ( $string ) | ||
|---|---|---|
| $string | string | 
 The string to be formatted  |  
Please login to continue.