class OutputFormatterStyleStack
| __construct(OutputFormatterStyleInterface $emptyStyle = null) | ||
| reset() Resets stack (ie. empty internal arrays). | ||
| push(OutputFormatterStyleInterface $style) Pushes a style in the stack. | ||
| OutputFormatterStyleInterface | pop(OutputFormatterStyleInterface $style = null) Pops a style from the stack. | |
| OutputFormatterStyle | getCurrent() Computes current style with stacks top codes. | |
| $this | setEmptyStyle(OutputFormatterStyleInterface $emptyStyle) | |
| OutputFormatterStyleInterface | getEmptyStyle() |
| OutputFormatterStyleInterface | $emptyStyle |
Resets stack (ie. empty internal arrays).
Pushes a style in the stack.
| OutputFormatterStyleInterface | $style |
Pops a style from the stack.
| OutputFormatterStyleInterface | $style |
| OutputFormatterStyleInterface |
| InvalidArgumentException | When style tags incorrectly nested |
Computes current style with stacks top codes.
| OutputFormatterStyle |
| OutputFormatterStyleInterface | $emptyStyle |
| $this |
| OutputFormatterStyleInterface |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Console/Formatter/OutputFormatterStyleStack.html