mageekguy\atoum\iterators\filters\recursives\closure::__construct PHP Méthode

__construct() public méthode

public __construct ( recursiveIterator $iterator, $closure = null )
$iterator recursiveIterator
    public function __construct(\recursiveIterator $iterator, $closure = null)
    {
        parent::__construct($iterator);
        if ($closure !== null) {
            foreach ((array) $closure as $c) {
                $this->addClosure($c);
            }
        }
    }