proem/proem — Issue #50: Proem\Util|\Storage\Queue wrapped in an IteratorAggregate ?
Author: trq
Created: 2012-01-22 00:56:51+00:00
State: open
Labels: Task

While investigating the possibility removing listeners for events (#46), I think I can get around some of the issues involved by wrapping the Queue within a class implementing the IteratorAggregate interface.

See: http://php.net/IteratorAggregate

This should aslo fix the issue of items being removed from the queue as they are iterated over.

I'll need to look into this further and prototype some stuff but work should begin on this asap.