class OutputFormatterStyleStack
Methods
|
__construct(OutputFormatterStyleInterface $emptyStyle = null)
Constructor. |
||
|
reset()
Resets stack (ie. |
||
|
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. |
|
| OutputFormatterStyleStack | setEmptyStyle(OutputFormatterStyleInterface $emptyStyle) | |
| OutputFormatterStyleInterface | getEmptyStyle() |
Details
at line 34
public
__construct(OutputFormatterStyleInterface $emptyStyle = null)
Constructor.
at line 43
public
reset()
Resets stack (ie.
empty internal arrays).
at line 53
public
push(OutputFormatterStyleInterface $style)
Pushes a style in the stack.
at line 67
public OutputFormatterStyleInterface
pop(OutputFormatterStyleInterface $style = null)
Pops a style from the stack.
at line 93
public OutputFormatterStyle
getCurrent()
Computes current style with stacks top codes.