formatMessage() protected method
Colorizes a message for console output.
See also yii\helpers\Console::ansiFormat() for details on how to specify the message format.
| protected string formatMessage ( $message, $format = [\yii\helpers\Console::FG_RED, \yii\helpers\Console::BOLD] ) | ||
|---|---|---|
| $message | string |
The message to colorize. |
| $format | array |
The message format. |
| return | string |
The colorized message. |
Please login to continue.