27 return (
bool) array_push($this->queue,
$item);
34 return array_shift($this->queue);
48 return count($this->queue);
clear()
{Clear all items from the queue.void}
dequeue()
{Remove an item from the queue.mixed}
FIFO queue that is memory based (not persistent)
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.