You are here

public function ConfigurationProxy::export in Configuration Management 7.3

File

src/Handlers/ConfigurationProxy.php, line 36

Class

ConfigurationProxy

Namespace

Configuration\Handlers

Code

public function export() {
  if (empty($this->configuration)) {
    $this->configuration = $this->handler
      ->loadFromDatabase($this->identifier);
  }
  $this->configuration_manager
    ->cache()
    ->set($this->configuration);
  return $this->handler
    ->export($this->configuration);
}