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  : OutputFormatterStyleInterface
$styles  : array<string|int, OutputFormatterStyleInterface>

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

Properties

Methods


        
On this page

Search results