php\util\SharedStack
extends: php\util\SharedCollection
Class SharedStack
Methods
__construct($array)¶ Parameters: $array – array, Traversable - (optional) push($value)¶ Parameters: $value – mixed Returns:mixed peek value pop()¶ Returns:mixed peek value peek()¶ Returns:mixed count()¶ Returns:int clear()¶ isEmpty()¶ Returns:bool
__construct
push
mixed peek value
pop
peek
count
clear
isEmpty