helpers\BaseConsole ansiFormat()

ansiFormat() public static method

Will return a string formatted with the given ANSI style

public static string ansiFormat ( $string, $format = [] )
$string string

The string to be formatted

$format array

An array containing formatting values. You can pass any of the FG_*, BG_* and TEXT_* constants and also xtermFgColor() and xtermBgColor() to specify a format.

doc_Yii
2016-10-30 17:04:29
Comments
Leave a Comment

Please login to continue.