Documentation

OutputFormatterStyleStack
in package
implements ResetInterface

Tags
author

Jean-François Simon contact@jfsimon.fr

Table of Contents

Interfaces

ResetInterface
Provides a way to reset an object to its initial state.

Properties

$emptyStyle  : mixed
$styles  : array<string|int, OutputFormatterStyleInterface>

Methods

__construct()  : mixed
getCurrent()  : OutputFormatterStyle
Computes current style with stacks top codes.
getEmptyStyle()  : OutputFormatterStyleInterface
pop()  : OutputFormatterStyleInterface
Pops a style from the stack.
push()  : mixed
Pushes a style in the stack.
reset()  : mixed
Resets stack (ie. empty internal arrays).
setEmptyStyle()  : $this

Properties

Methods


        
On this page

Search results