symfony/symfony — pull request #3520 by cboden (2012-03-06 15:15:21+00:00)
Title: [HttpFoundation] SPL on ParameterBag

Bug fix: no
Feature addition: yes
Backwards compatibility break: no
Symfony2 tests pass: yes

Added a couple SPL interfaces to ParameterBag, added shortcuts to working with the parameters. For example:

```php
request;
echo "There are {count($post)} POST variables\n";

foreach ($post as $key => $val) {
echo "{$key}: {$val}\n";
}
```

Thoughts?