CyclicReferenceStack
in package
Table of Contents
Properties
- $stack : array<string|int, mixed>
- The call stack for calculated cells.
Methods
- 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
count()
Return the number of entries on the stack.
public
count() : int
Return values
intonStack()
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
boolpop()
Pop the last entry from the stack.
public
pop() : mixed
push()
Push a new entry onto the stack.
public
push(mixed $value) : void
Parameters
- $value : mixed
showStack()
Return an array of all entries on the stack.
public
showStack() : array<string|int, mixed>