src/precore/util/Iterables.php
public static function skip(IteratorAggregate $iterable, int $numberToSkip) : IteratorAggregate
    {
        return new CallableIterable(
            function () use ($iterable, $numberToSkip) {
                $iterator = Iterators::from($iterable->getIterator());
                Iterators::advance($iterator, $numberToSkip);
                return $iterator;
            }
        );
    }
public static function skip(IteratorAggregate $iterable, int $numberToSkip) : IteratorAggregate
    {
        return new CallableIterable(
            function () use ($iterable, $numberToSkip) {
                $iterator = Iterators::from($iterable->getIterator());
                Iterators::advance($iterator, $numberToSkip);
                return $iterator;
            }
        );
    }
Returns a view of iterable that skips its first numberToSkip elements.
If iterable contains fewer than numberToSkip elements,
the returned iterable skips all of its elements.

@param IteratorAggregate $iterable
@param int $numberToSkip
@return IteratorAggregate