Documentation

Cs
in package

This is a short alias for `ColoredString` class

Table of Contents

g()  : string

Methods

g()

public static g(string $str[, ForegroundColors $foregroundColor = ForegroundColors::AUTO ][, BackgroundColors $backgroundColor = BackgroundColors::AUTO ]) : string
Parameters
$str : string

Your string

$foregroundColor : ForegroundColors = ForegroundColors::AUTO
$backgroundColor : BackgroundColors = BackgroundColors::AUTO
Return values
string

Colored string

Search results