FilterIterator (class)

The FilterIterator class

Introduction

(PHP 5 >= 5.1.0, PHP 7)

This abstract iterator filters out unwanted values. This class should be extended to implement custom iterator filters. The FilterIterator::accept() must be implemented in the subclass.

Class synopsis

abstract FilterIterator extends IteratorIterator implements OuterIterator {
登录查看完整内容