TestFilterIterator.php

Same filename in other branches
  1. 8.9.x core/modules/migrate/tests/src/Kernel/TestFilterIterator.php
  2. 10 core/modules/migrate/tests/src/Kernel/TestFilterIterator.php
  3. 11.x core/modules/migrate/tests/src/Kernel/TestFilterIterator.php

Namespace

Drupal\Tests\migrate\Kernel

File

core/modules/migrate/tests/src/Kernel/TestFilterIterator.php

View source
<?php

namespace Drupal\Tests\migrate\Kernel;


/**
 * Class to test FilterIterators.
 */
class TestFilterIterator extends \FilterIterator {
    
    /**
     * {@inheritdoc}
     */
    public function accept() : bool {
        return TRUE;
    }

}

Classes

Title Deprecated Summary
TestFilterIterator Class to test FilterIterators.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.