You are here

IgnoredPathsIteratorFilter.php in Automatic Updates 8

File

src/IgnoredPathsIteratorFilter.php
View source
<?php

namespace Drupal\automatic_updates;


/**
 * Provides an iterator filter for file paths which are ignored.
 */
class IgnoredPathsIteratorFilter extends \FilterIterator {
  use IgnoredPathsTrait;

  /**
   * {@inheritdoc}
   */
  public function accept() {
    return !$this
      ->isIgnoredPath($this
      ->current());
  }

}

Classes

Namesort descending Description
IgnoredPathsIteratorFilter Provides an iterator filter for file paths which are ignored.