Stack
class Stack implements Countable, IteratorAggregate, ArrayRepresentation (View source)
Stack container implementation
Methods
No description
No description
No description
No description
Indicates if the stack is empty
Get the top-most element of the stack
Remove the top-most element of the stack
Invoke the top-most element of the stack
Attempt to call the given method on the top-most object of the stack
Attempt to get the given property of the top-most element of the stack
Attempt to set the value of the given property of hte top most element of the stack.
Details
at line 20
__construct()
at line 30
count()
at line 40
array
getArrayCopy()
at line 51
getIterator()
at line 61
boolean
isEmpty()
Indicates if the stack is empty
at line 72
mixed
top()
Get the top-most element of the stack
at line 100
mixed
pop()
Remove the top-most element of the stack
at line 115
mixed
__invoke()
Invoke the top-most element of the stack
at line 135
__call(string $name, array $arguments)
Attempt to call the given method on the top-most object of the stack
at line 164
mixed|array|ArrayAccess|Traversable
__get(string $member)
Attempt to get the given property of the top-most element of the stack
at line 185
mixed
__set(string $member, mixed $value)
Attempt to set the value of the given property of hte top most element of the stack.