rfc:iterator_chaining

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
rfc:iterator_chaining [2021/03/20 21:48] maxsemrfc:iterator_chaining [2021/03/21 14:32] (current) maxsem
Line 40: Line 40:
 trait IteratorChain { trait IteratorChain {
     public function skip(int $count): LimitIterator {}     public function skip(int $count): LimitIterator {}
 +    public function limit(int $count): LimitIterator {}
 +    public function skipAndLimit(int $numToSkip, int $limit): LimitIterator {}
     public function regex(string $regex, int $mode = RegexIterator::MATCH, int $flags = 0 , int $preg_flags = 0): RegexIterator {}     public function regex(string $regex, int $mode = RegexIterator::MATCH, int $flags = 0 , int $preg_flags = 0): RegexIterator {}
     public function callbackFilter(callable $callback): CallbackIterator {}     public function callbackFilter(callable $callback): CallbackIterator {}
rfc/iterator_chaining.txt · Last modified: 2021/03/21 14:32 by maxsem