whiteoctober/Pagerfanta — comment on commit 27495ec4d2c95a6d8624cee1cd481ff87673dfc0
File: src/Pagerfanta/Pagerfanta.php line 155
By pablodip:

That's what the `getIterator` method is for. Most of the times you'll iterate the paginator, so you'll use that method. But in the cases you want to fetch all results you can use this method.