CyclicReferenceStack
Table of Contents
- $stack : array<string|int, mixed>
- The call stack for calculated cells.
- clear() : void
- Clear the stack.
- count() : int
- Return the number of entries on the stack.
- onStack() : bool
- Test to see if a specified entry exists on the stack.
- pop() : mixed
- Pop the last entry from the stack.
- push() : void
- Push a new entry onto the stack.
- showStack() : array<string|int, mixed>
- Return an array of all entries on the stack.
Properties
$stack
The call stack for calculated cells.
private
array<string|int, mixed>
$stack
= []
Methods
clear()
Clear the stack.
public
clear() : void
Return values
void —count()
Return the number of entries on the stack.
public
count() : int
Return values
int —onStack()
Test to see if a specified entry exists on the stack.
public
onStack(mixed $value) : bool
Parameters
- $value : mixed
-
The value to test
Return values
bool —pop()
Pop the last entry from the stack.
public
pop() : mixed
Return values
mixed —push()
Push a new entry onto the stack.
public
push(mixed $value) : void
Parameters
- $value : mixed
Return values
void —showStack()
Return an array of all entries on the stack.
public
showStack() : array<string|int, mixed>