classe Color (Voir la source)

Méthodes

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

Détails

static string red(string $message)

Red message

Paramètres

string $message

Valeur de retour

string

static string blue(string $message)

Blue message

Paramètres

string $message

Valeur de retour

string

static string yellow(string $message)

Yellow message

Paramètres

string $message

Valeur de retour

string

static string green(string $message)

Green message

Paramètres

string $message

Valeur de retour

string

static string danger(string $message)

Red message with '[danger]' prefix

Paramètres

string $message

Valeur de retour

string

static string info(string $message)

Blue message with '[info]' prefix

Paramètres

string $message

Valeur de retour

string

static string warning(string $message)

Yellow message with '[warning]' prefix

Paramètres

string $message

Valeur de retour

string

static string success(string $message)

Greean message with '[success]' prefix

Paramètres

string $message

Valeur de retour

string