codeguy/Slim — pull request #347 by DexterTheDragon (2012-07-18 16:51:36+00:00)
Title: Allow flash object to be iterated over

Typically when I display flash messages I like to do something like:

```php
$value) {
echo "

{$message}

";
}
```

This patch adds IteratorAggregate to Slim_Middleware_Flash to allow iterating on the messages. I also added a test for it.