\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 : 

Type

Methods

__construct()

__construct(\RecursiveIteratorIterator  $iterator, integer  $minDepth, integer  $maxDepth = PHP_INT_MAX) 

Parameters

\RecursiveIteratorIterator $iterator

The Iterator to filter

integer $minDepth

The min depth

integer $maxDepth

The max depth

accept()

accept() : boolean

Filters the iterator values.

Returns

boolean —

true if the value should be kept, false otherwise