ConsoleColorFactory
in package
Builds `ConsoleColor` instances configured according to the given color mode.
Table of Contents
- $colorMode : mixed
- __construct() : mixed
- getConsoleColor() : ConsoleColor
- Get a `ConsoleColor` instance configured according to the given color mode.
- getDefaultConsoleColor() : mixed
- getDisabledConsoleColor() : mixed
- getForcedConsoleColor() : mixed
Properties
$colorMode
private
mixed
$colorMode
Methods
__construct()
public
__construct(string $colorMode) : mixed
Parameters
- $colorMode : string
Return values
mixed —getConsoleColor()
Get a `ConsoleColor` instance configured according to the given color mode.
public
getConsoleColor() : ConsoleColor
Return values
ConsoleColor —getDefaultConsoleColor()
private
getDefaultConsoleColor() : mixed
Return values
mixed —getDisabledConsoleColor()
private
getDisabledConsoleColor() : mixed
Return values
mixed —getForcedConsoleColor()
private
getForcedConsoleColor() : mixed