24 $this->queue = array();
31 return (
bool)array_push($this->queue,
$item);
38 return array_shift($this->queue);
45 $this->queue = array();
52 return count($this->queue);
clear()
{Clear all items from the queue.void}
dequeue()
{Remove an item from the queue.mixed}
size()
{Get the size of the queue.int}
enqueue($item)
{Add an item to the queue.Item to add to queue bool}
__construct()
Create a queue.