public function StorageWrapper::write

8.0.x StorageWrapper.php public StorageWrapper::write($name, array $data)
master StorageWrapper.php public StorageWrapper::write($name, array $data)

File

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

Namespace

Drush\Config

Class

StorageWrapper

Code

public function write($name, array $data) {
  foreach ($this->filters as $filter) {
    $data = $filter->filterWrite($name, $data, $this->storage);
  }

  return $this->storage->write($name, $data);
}