Copied!
CloneableFinalInstantiable
Methods
public __construct(string $foreground = '', string $background = '', array $options = [])
public apply(string $text) : string
public set() : string
public unset() : string
Constants
private Symfony\Component\Console\Color::AVAILABLE_OPTIONS = ['bold' => ['set' => 1, 'unset' => 22], 'underscore' => ['set' => 4, 'unset' => 24], 'blink' => ['set' => 5, 'unset' => 25], 'reverse' => ['set' => 7, 'unset' => 27], 'conceal' => ['set' => 8, 'unset' => 28]]
private Symfony\Component\Console\Color::BRIGHT_COLORS = ['gray' => 0, 'bright-red' => 1, 'bright-green' => 2, 'bright-yellow' => 3, 'bright-blue' => 4, 'bright-magenta' => 5, 'bright-cyan' => 6, 'bright-white' => 7]
private Symfony\Component\Console\Color::COLORS = ['black' => 0, 'red' => 1, 'green' => 2, 'yellow' => 3, 'blue' => 4, 'magenta' => 5, 'cyan' => 6, 'white' => 7, 'default' => 9]
Properties
private string $background
private string $foreground
private array $options
Methods
private parseColor(string $color, bool $background = false) : string
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration