OutputFormatterStyleStack
    
            
            in package
            
        
    
            
            implements
                            ResetInterface                    
    
    
Tags
Table of Contents
Interfaces
- ResetInterface
 - Provides a way to reset an object to its initial state.
 
Methods
- __construct() : mixed
 - getCurrent() : OutputFormatterStyleInterface
 - Computes current style with stacks top codes.
 - getEmptyStyle() : OutputFormatterStyleInterface
 - pop() : OutputFormatterStyleInterface
 - Pops a style from the stack.
 - push() : void
 - Pushes a style in the stack.
 - reset() : void
 - Resets stack (ie. empty internal arrays).
 - setEmptyStyle() : $this
 
Methods
__construct()
    public
                    __construct([OutputFormatterStyleInterface|null $emptyStyle = null ]) : mixed
    Parameters
- $emptyStyle : OutputFormatterStyleInterface|null = null
 
getCurrent()
Computes current style with stacks top codes.
    public
                    getCurrent() : OutputFormatterStyleInterface
    Return values
OutputFormatterStyleInterfacegetEmptyStyle()
    public
                    getEmptyStyle() : OutputFormatterStyleInterface
    Return values
OutputFormatterStyleInterfacepop()
Pops a style from the stack.
    public
                    pop([OutputFormatterStyleInterface|null $style = null ]) : OutputFormatterStyleInterface
    Parameters
- $style : OutputFormatterStyleInterface|null = null
 
Tags
Return values
OutputFormatterStyleInterfacepush()
Pushes a style in the stack.
    public
                    push(OutputFormatterStyleInterface $style) : void
    Parameters
- $style : OutputFormatterStyleInterface
 
reset()
Resets stack (ie. empty internal arrays).
    public
                    reset() : void
    setEmptyStyle()
    public
                    setEmptyStyle(OutputFormatterStyleInterface $emptyStyle) : $this
    Parameters
- $emptyStyle : OutputFormatterStyleInterface