$decorated
$decorated :
Formatter class for console output.
__construct(boolean $decorated = false, array<mixed,\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface> $styles = array())
Initializes console output formatter.
boolean | $decorated | Whether this formatter should actually decorate strings |
array<mixed,\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface> | $styles | Array of "name => FormatterStyle" instances |
setStyle(string $name, \Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $style)
Sets a new style.
string | $name | The style name |
\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface | $style | The style instance |
getStyle(string $name) : \Symfony\Component\Console\Formatter\OutputFormatterStyleInterface
Gets style options from style with specified name.
string | $name |
getStyleStack() : \Symfony\Component\Console\Formatter\OutputFormatterStyleStack
createStyleFromString(\Symfony\Component\Console\Formatter\string $string) : \Symfony\Component\Console\Formatter\OutputFormatterStyle|false
Tries to create new style instance from string.
\Symfony\Component\Console\Formatter\string | $string |
False if string is not format string