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