Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • CustomFilterIterator
  • DateRangeFilterIterator
  • DepthRangeFilterIterator
  • ExcludeDirectoryFilterIterator
  • FilecontentFilterIterator
  • FilenameFilterIterator
  • FilePathsIterator
  • FileTypeFilterIterator
  • FilterIterator
  • MultiplePcreFilterIterator
  • PathFilterIterator
  • RecursiveDirectoryIterator
  • SizeRangeFilterIterator
  • SortableIterator
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class DepthRangeFilterIterator

DepthRangeFilterIterator limits the directory depth.

IteratorIterator implements Iterator, Traversable, OuterIterator
Extended by FilterIterator
Extended by Symfony\Component\Finder\Iterator\FilterIterator
Extended by Symfony\Component\Finder\Iterator\DepthRangeFilterIterator
Namespace: Symfony\Component\Finder\Iterator
Author: Fabien Potencier <fabien@symfony.com>
Located at finder/Symfony/Component/Finder/Iterator/DepthRangeFilterIterator.php
Methods summary
public
# __construct( RecursiveIteratorIterator $iterator, integer $minDepth = 0, integer $maxDepth = PHP_INT_MAX )

Constructor.

Constructor.

Parameters

$iterator
RecursiveIteratorIterator
$iterator The Iterator to filter
$minDepth
integer
$minDepth The min depth
$maxDepth
integer
$maxDepth The max depth

Overrides

FilterIterator::__construct()
public Boolean
# accept( )

Filters the iterator values.

Filters the iterator values.

Returns

Boolean
true if the value should be kept, false otherwise
Methods inherited from Symfony\Component\Finder\Iterator\FilterIterator
rewind()
Methods inherited from FilterIterator
current(), getInnerIterator(), key(), next(), valid()
php-coveralls API documentation generated by ApiGen 2.8.0