public function StorageWrapper::readMultiple

8.0.x StorageWrapper.php public StorageWrapper::readMultiple(array $names)
master StorageWrapper.php public StorageWrapper::readMultiple(array $names)

File

lib/Drush/Config/StorageWrapper.php, line 53
Definition of Drush\Config\StorageWrapper.

Namespace

Drush\Config

Class

StorageWrapper

Code

public function readMultiple(array $names) {
  $dataList = $this->storage->readMultiple($names);
  $result = array();

  foreach ($dataList as $name => $data) {
    foreach ($this->filters as $filter) {
      $data = $filter->filterRead($name, $data);
    }
    $result[$name] = $data;
  }

  return $result;
}