Ouzo\Utilities\Iterator\Iterators::skip PHP 메소드

skip() 공개 정적인 메소드

Creates an iterator returning all but first $number elements of the given iterator.
public static skip ( Iterator $iterator, $number ) : SkippingIterator
$iterator Iterator
$number
리턴 SkippingIterator
    public static function skip(Iterator $iterator, $number)
    {
        return new SkippingIterator($iterator, $number);
    }