eZPublishCommunityProject  2013.9
eZ\Publish\Core\MVC\Symfony\ConfigDumperInterface Interface Reference

Interface for configuration dumpers. More...

+ Inheritance diagram for eZ\Publish\Core\MVC\Symfony\ConfigDumperInterface:

Public Member Functions

 dump (array $configArray, $options=ConfigDumperInterface::OPT_DEFAULT)
 Dumps settings contained in $configArray in a configuration storage (e.g. More...
 

Public Attributes

const OPT_BACKUP_CONFIG = 1
 
const OPT_DEFAULT = 0
 

Detailed Description

Interface for configuration dumpers.

Use this interface when you want to dump settings in a configuration file for instance.

Member Function Documentation

eZ\Publish\Core\MVC\Symfony\ConfigDumperInterface::dump ( array  $configArray,
  $options = ConfigDumperInterface::OPT_DEFAULT 
)

Dumps settings contained in $configArray in a configuration storage (e.g.

a YAML config file).

Parameters
array$configArrayHash of settings.
int$optionsA binary combination of options. See class OPT_* class constants in eZ\Publish\Core\MVC\Symfony\ConfigDumperInterface@returnvoid

Implemented in eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper.

Member Data Documentation

const eZ\Publish\Core\MVC\Symfony\ConfigDumperInterface::OPT_BACKUP_CONFIG = 1
const eZ\Publish\Core\MVC\Symfony\ConfigDumperInterface::OPT_DEFAULT = 0

The documentation for this interface was generated from the following file: