Class Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator

InheritanceSymfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator » Symfony\Component\Finder\Iterator\FilterIterator » FilterIterator
ImplementsRecursiveIterator

ExcludeDirectoryFilterIterator filters out directories.

Method Details

__construct() public method

Constructor.

public void __construct ( Iterator $iterator, array $directories )
$iterator Iterator

The Iterator to filter

$directories array

An array of directories to exclude

accept() public method

Filters the iterator values.

public bool accept ( )
return bool

True if the value should be kept, false otherwise

getChildren() public method

public void getChildren ( )
hasChildren() public method

public void hasChildren ( )