\Symfony\Component\Finder\IteratorDepthRangeFilterIterator

DepthRangeFilterIterator limits the directory depth.

Summary

Methods
Properties
Constants
__construct()
accept()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$minDepth
N/A

Properties

$minDepth

$minDepth

Methods

__construct()

__construct(\RecursiveIteratorIterator<\RecursiveIterator<\Symfony\Component\Finder\Iterator\TKey,\Symfony\Component\Finder\Iterator\TValue>>  $iterator, int  $minDepth, int  $maxDepth = PHP_INT_MAX) : mixed

Parameters

\RecursiveIteratorIterator<\RecursiveIterator<\Symfony\Component\Finder\Iterator\TKey,\Symfony\Component\Finder\Iterator\TValue>> $iterator

The Iterator to filter

int $minDepth

The min depth

int $maxDepth

The max depth

Returns

mixed —

accept()

accept() : bool

Filters the iterator values.

Returns

bool —