helpers\BaseConsole ansiFormatCode()

ansiFormatCode() public static method

Returns the ANSI format code.

public static string ansiFormatCode ( $format )
$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.

return string

The ANSI format code according to the given formatting constants.

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

Please login to continue.