Formatter style interface for defining styles.
Methods | ||
---|---|---|
public
|
setForeground(?string $color): void
|
# |
public
|
setBackground(?string $color): void
|
# |
public
|
setOption(string $option): void
|
# |
public
|
unsetOption(string $option): void
|
# |
public
|
setOptions(array $options): void
|
# |
public
|
apply(string $text): string
|
# |