You are here

class IgnoredPathsIteratorFilter in Automatic Updates 8

Provides an iterator filter for file paths which are ignored.

Hierarchy

Expanded class hierarchy of IgnoredPathsIteratorFilter

2 files declare their use of IgnoredPathsIteratorFilter
ModifiedFiles.php in src/ReadinessChecker/ModifiedFiles.php
ModifiedFilesController.php in tests/modules/test_automatic_updates/src/Controller/ModifiedFilesController.php

File

src/IgnoredPathsIteratorFilter.php, line 8

Namespace

Drupal\automatic_updates
View source
class IgnoredPathsIteratorFilter extends \FilterIterator {
  use IgnoredPathsTrait;

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

}

Members

Namesort descending Modifiers Type Description Overrides
IgnoredPathsIteratorFilter::accept public function
IgnoredPathsTrait::getConfigFactory protected function Gets the config factory.
IgnoredPathsTrait::getPathMatcher protected function Get the path matcher service.
IgnoredPathsTrait::isIgnoredPath protected function Check if the file path is ignored.