FORMAT_NONE
FORMAT_NONE
No color formatting.
Horde_Cli API for basic command-line functionality/checks.
color(string $color, string $text) : string
Returns a colored version of $text.
string | $color | The color to use. One of:
|
string | $text | The text to print in this color. |
The colored text.
format(string $foreground, string $background, string $text) : string
Returns a version of $text with a colored foreground and background.
string | $foreground | The foreground color to use. |
string | $background | The background color to use. |
string | $text | The text to print in color. |
The colored text.