interface OutputFormatterStyleInterface
Formatter style interface for defining styles.
setForeground(string $color = null) Sets style foreground color. | ||
setBackground(string $color = null) Sets style background color. | ||
setOption(string $option) Sets some specific style option. | ||
unsetOption(string $option) Unsets some specific style option. | ||
setOptions(array $options) Sets multiple style options at once. | ||
string | apply(string $text) Applies the style to a given text. |
Sets style foreground color.
Sets style background color.
Sets some specific style option.
Unsets some specific style option.
Sets multiple style options at once.
Applies the style to a given text.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Component/Console/Formatter/OutputFormatterStyleInterface.html