# A classe RecursiveFilterIterator

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

## Introdução

Este iterador abstrato filtra valores indesejados para um RecursiveIterator. Esta classe deve ser estendida para implementar filtros personalizados. O RecursiveFilterIterator::accept() deve ser implementado na subclasse.

## Resumo da classe

abstract class RecursiveFilterIterator extends FilterIterator implements RecursiveIterator {
/* Métodos */
public function __construct(RecursiveIterator `$iterator`)
public function getChildren(): ?RecursiveFilterIterator
public function hasChildren(): bool
/* Métodos herdados */
public function FilterIterator::accept(): bool
public function FilterIterator::current(): mixed
public function FilterIterator::key(): mixed
public function FilterIterator::next(): void
public function FilterIterator::rewind(): void
public function FilterIterator::valid(): bool
public function IteratorIterator::current(): mixed
public function IteratorIterator::getInnerIterator(): ?Iterator
public function IteratorIterator::key(): mixed
public function IteratorIterator::next(): void
public function IteratorIterator::rewind(): void
public function IteratorIterator::valid(): bool
}

## Índice

- RecursiveFilterIterator::__construct — Cria um RecursiveFilterIterator a partir de um RecursiveIterator
- RecursiveFilterIterator::getChildren — Retorna os filhos do iterador interno contidos em um RecursiveFilterIterator
- RecursiveFilterIterator::hasChildren — Verifica se o elemento atual do iterador interno tem filhos

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open