public function exportConfiguration($format, $consolidated)
    {
        $definition = new ConfigurationDefinition();
        $definition->setValues($this->config->all());

        $this->configurationPublisher->setDefinition($definition);
        $this->configurationPublisher->publish($format, $consolidated);
    }