symfony/symfony — pull request #10699 by grafitus (2014-04-13 10:42:41+00:00)
Title: Added support for slicing nodes.

There are no easy way to slice nodes in specific range. I created a method using \LimitIterator. Works fine for me.

An example using is:
```php
$crawler->filter('h1')->slice(5, 10)->each(function ($node, $i) {
return $node->text();
});