class Color (View source)

Methods

static string
red(string $message)

Red message

static string
blue(string $message)

Blue message

static string
yellow(string $message)

Yellow message

static string
green(string $message)

Green message

static string
danger(string $message)

Red message with '[danger]' prefix

static string
info(string $message)

Blue message with '[info]' prefix

static string
warning(string $message)

Yellow message with '[warning]' prefix

static string
success(string $message)

Greean message with '[success]' prefix

Details

static string red(string $message)

Red message

Parameters

string $message

Return Value

string

static string blue(string $message)

Blue message

Parameters

string $message

Return Value

string

static string yellow(string $message)

Yellow message

Parameters

string $message

Return Value

string

static string green(string $message)

Green message

Parameters

string $message

Return Value

string

static string danger(string $message)

Red message with '[danger]' prefix

Parameters

string $message

Return Value

string

static string info(string $message)

Blue message with '[info]' prefix

Parameters

string $message

Return Value

string

static string warning(string $message)

Yellow message with '[warning]' prefix

Parameters

string $message

Return Value

string

static string success(string $message)

Greean message with '[success]' prefix

Parameters

string $message

Return Value

string