OutputFormatterStyle

OutputFormatterStyle

class OutputFormatterStyle implements OutputFormatterStyleInterface

Formatter style class for defining styles.

Methods

__construct(string|null $foreground = null, string|null $background = null, array $options = array())

Initializes output formatter style.

setForeground(string $color = null)

Sets style foreground color.

setBackground(string $color = null)

Sets style background color.

登录查看完整内容