Methods |
public
|
apply(string $string, $attributes = null): string
Format a string
|
#
|
protected
static
|
getTagFormats(): ?TagFormats
Get tag formats, or null if the format does not provide them
Get tag formats, or null if the format does not provide them
Overrides
|
#
|
protected
static
|
getMessageFormats(): ?MessageFormats
Get message formats, or null if the format does not provide them
Get message formats, or null if the format does not provide them
Overrides
|
#
|
protected
static
|
getColour(TtyFormat::*_FG $colour): self
Get a format that applies a colour to TTY output
Get a format that applies a colour to TTY output
|
#
|
protected
static
|
getBold(TtyFormat::*_FG|null $colour = null): self
Get a format that increases the intensity of TTY output and optionally
applies a colour
Get a format that increases the intensity of TTY output and optionally
applies a colour
|
#
|
protected
static
|
getFaint(TtyFormat::*_FG|null $colour = null): self
Get a format that decreases the intensity of TTY output and optionally
applies a colour
Get a format that decreases the intensity of TTY output and optionally
applies a colour
|
#
|
protected
static
|
getBoldFaint(TtyFormat::*_FG|null $colour = null): self
Get a format that applies bold and faint attributes to TTY output and
optionally applies a colour
Get a format that applies bold and faint attributes to TTY output and
optionally applies a colour
If bold (increased intensity) and faint (decreased intensity) attributes
cannot be set simultaneously, output will be faint, not bold.
|
#
|
protected
static
|
getUnderline(TtyFormat::*_FG|null $colour = null): self
Get a format that underlines and optionally applies a colour to TTY
output
Get a format that underlines and optionally applies a colour to TTY
output
|
#
|