The RecursiveFilterIterator class

The RecursiveFilterIterator class

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

簡介

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

類摘要

abstract class RecursiveFilterIterator extends FilterIterator implements RecursiveIterator {
/* 方法 */
public __construct(RecursiveIterator $iterator)
public hasChildren(): bool
/* 繼承的方法 */
public FilterIterator::accept(): bool
public FilterIterator::next(): void
public FilterIterator::rewind(): void
public FilterIterator::valid(): bool
public IteratorIterator::next(): void
}

目錄

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *