You are here

public function Iterator::__construct in Database Sanitize 7

Overrides Iterator::__construct

1 method overrides Iterator::__construct()
Iterator::__construct in vendor/symfony/finder/Tests/Iterator/Iterator.php

File

vendor/symfony/finder/Tests/Iterator/Iterator.php, line 18

Class

Iterator

Namespace

Symfony\Component\Finder\Tests\Iterator

Code

public function __construct(array $values = array()) {
  foreach ($values as $value) {
    $this
      ->attach(new \SplFileInfo($value));
  }
  $this
    ->rewind();
}