IgnoredPathsIteratorFilter.php in Automatic Updates 8
Namespace
Drupal\automatic_updatesFile
src/IgnoredPathsIteratorFilter.phpView 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
Name | Description |
---|---|
IgnoredPathsIteratorFilter | Provides an iterator filter for file paths which are ignored. |