Documentation

DepthRangeFilterIterator extends FilterIterator
in package

DepthRangeFilterIterator limits the directory depth.

Tags
author

Fabien Potencier fabien@symfony.com

template-covariant

TKey

template-covariant

TValue

extends

\FilterIterator<TKey, TValue>

Table of Contents

$minDepth  : int
__construct()  : mixed
accept()  : bool
Filters the iterator values.

Properties

Methods

__construct()

public __construct(RecursiveIteratorIterator<string|int, RecursiveIterator<TKey, TValue>> $iterator, int $minDepth[, int $maxDepth = PHP_INT_MAX ]) : mixed
Parameters
$iterator : RecursiveIteratorIterator<string|int, RecursiveIterator<TKey, TValue>>

The Iterator to filter

$minDepth : int

The min depth

$maxDepth : int = PHP_INT_MAX

The max depth

Return values
mixed

Search results