You are here

final public function ArrayIndexer::hasAll in Drupal 7 to 8/9 Module Upgrader 8

Overrides IndexerBase::hasAll

File

src/ArrayIndexer.php, line 24

Class

ArrayIndexer

Namespace

Drupal\drupalmoduleupgrader

Code

public final function hasAll(array $keys) {
  foreach ($keys as $key) {
    if ($this
      ->count($key) == 0) {
      return FALSE;
    }
  }
  return TRUE;
}