console\ErrorHandler formatMessage()

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.

doc_Yii
2016-10-30 16:55:23
Comments
Leave a Comment

Please login to continue.