Color
in package
FinalYes
Tags
Table of Contents
Methods
- __construct() : mixed
- apply() : string
- set() : string
- unset() : string
Methods
__construct()
public
__construct([string $foreground = '' ][, string $background = '' ][, array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $foreground : string = ''
- $background : string = ''
- $options : array<string|int, mixed> = []
apply()
public
apply(string $text) : string
Parameters
- $text : string
Return values
stringset()
public
set() : string
Return values
stringunset()
public
unset() : string