You are here

class MockFileListIterator in Database Sanitize 7

Hierarchy

  • class \Symfony\Component\Finder\Tests\Iterator\MockFileListIterator extends \Symfony\Component\Finder\Tests\Iterator\ArrayIterator

Expanded class hierarchy of MockFileListIterator

File

vendor/symfony/finder/Tests/Iterator/MockFileListIterator.php, line 14

Namespace

Symfony\Component\Finder\Tests\Iterator
View source
class MockFileListIterator extends \ArrayIterator {
  public function __construct(array $filesArray = array()) {
    $files = array_map(function ($file) {
      return new MockSplFileInfo($file);
    }, $filesArray);
    parent::__construct($files);
  }

}

Members