Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
Formatter style interface for defining styles.
- Author: Konstantin Kudryashov <ever.zet@gmail.com>
Synopsis
interface OutputFormatterStyleInterface
{
- // methods
- public void setForeground()
- public void setBackground()
- public void setOption()
- public void unsetOption()
- public void setOptions()
- public string apply()
Methods
public
- apply() — Applies the style to a given text.
- setBackground() — Sets style background color.
- setForeground() — Sets style foreground color.
- setOption() — Sets some specific style option.
- setOptions() — Sets multiple style options at once.
- unsetOption() — Unsets some specific style option.