__construct() __construct(integer $maxsize) : \Ptypes\Stack Stack is a last in first out (lifo) data type. Parameters integer $maxsize Returns \Ptypes\Stack
peek() peek() : object Peek returns the top element of the stack, returns null if the stack is empty. Returns object
count() count() : integer Count, same functionality as Size. Overrides the default count function call on this class. Returns integer