ConsoleHelper
in package
Console helper class
Table of Contents
Methods
- checkMark() : string
- Get CHECK MARK
- errorMark() : string
- Get error mark
- getDescriptionText() : string
- Return description text
- getLabelText() : string
- Return console label text
- getStatusText() : string
- Return status label text
- getYesNoText() : string
- Return Yes/No text
- warning() : string
- Get warning
Methods
checkMark()
Get CHECK MARK
public
static checkMark([string $space = ' ' ]) : string
Parameters
- $space : string = ' '
Return values
stringerrorMark()
Get error mark
public
static errorMark([string $space = ' ' ]) : string
Parameters
- $space : string = ' '
Return values
stringgetDescriptionText()
Return description text
public
static getDescriptionText(string $description) : string
Parameters
- $description : string
Return values
stringgetLabelText()
Return console label text
public
static getLabelText(string $text[, string $color = 'green' ]) : string
Parameters
- $text : string
- $color : string = 'green'
Return values
stringgetStatusText()
Return status label text
public
static getStatusText(int $status) : string
Parameters
- $status : int
Return values
stringgetYesNoText()
Return Yes/No text
public
static getYesNoText(bool $value) : string
Parameters
- $value : bool
Return values
stringwarning()
Get warning
public
static warning([string $label = '!' ]) : string
Parameters
- $label : string = '!'