php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
LimitIterator Class Reference
Inheritance diagram for LimitIterator:
IteratorIterator OuterIterator Iterator Traversable

Public Member Functions

 __construct (Iterator $iterator, int $offset=0, int $limit=-1)
 
 rewind ()
 
 valid ()
 
 next ()
 
 seek (int $offset)
 
 getPosition ()
 
- Public Member Functions inherited from IteratorIterator
 __construct (Traversable $iterator, ?string $class=null)
 
 getInnerIterator ()
 
 key ()
 
 current ()
 

Detailed Description

Definition at line 190 of file spl_iterators.stub.php.

Constructor & Destructor Documentation

◆ __construct()

LimitIterator::__construct ( Iterator $iterator,
int $offset = 0,
int $limit = -1 )

Definition at line 192 of file spl_iterators.stub.php.

Member Function Documentation

◆ getPosition()

LimitIterator::getPosition ( )

@tentative-return-type

Definition at line 207 of file spl_iterators.stub.php.

◆ next()

LimitIterator::next ( )

@tentative-return-type

Reimplemented from IteratorIterator.

Definition at line 201 of file spl_iterators.stub.php.

◆ rewind()

LimitIterator::rewind ( )

@tentative-return-type

Reimplemented from IteratorIterator.

Definition at line 195 of file spl_iterators.stub.php.

◆ seek()

LimitIterator::seek ( int $offset)

@tentative-return-type

Definition at line 204 of file spl_iterators.stub.php.

◆ valid()

LimitIterator::valid ( )

@tentative-return-type

Reimplemented from IteratorIterator.

Definition at line 198 of file spl_iterators.stub.php.


The documentation for this class was generated from the following file: