doctrine/doctrine2 — pull request #1021 by nkt (2014-04-29 14:30:53+00:00)
Title: Make EntityRepository iterateable

I am often write code like this
```php
foreach ($em->getRepository(User::class)->findAll() as $user) {
// do smth
}
```
Its would be wonderful write less code:
```php
foreach ($em->getRepository(User::class) as $user) {
// do smth
}
```