eZPublishCommunityProject  2013.4
eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper Class Reference
+ Inheritance diagram for eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper:
+ Collaboration diagram for eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper:

Public Member Functions

 __construct (Filesystem $fs, array $envs, $rootDir, $cacheDir)
 
 addEnvironment ($env)
 Adds an environment to dump a configuration file for. More...
 
 dump (array $configArray, $options=ConfigDumperInterface::OPT_DEFAULT)
 Dumps settings contained in $configArray in ezpublish.yml. More...
 

Protected Member Functions

 backupConfigFile ($configFile)
 Makes a backup copy of $configFile. More...
 
 clearCache ()
 Clears the configuration cache. More...
 

Protected Attributes

 $cacheDir
 
 $envs
 
 $fs
 
 $rootDir
 

Additional Inherited Members

- Public Attributes inherited from eZ\Publish\Core\MVC\Symfony\ConfigDumperInterface
const OPT_BACKUP_CONFIG = 1
 
const OPT_DEFAULT = 0
 

Constructor & Destructor Documentation

eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper::__construct ( Filesystem  $fs,
array  $envs,
  $rootDir,
  $cacheDir 
)

Member Function Documentation

eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper::addEnvironment (   $env)

Adds an environment to dump a configuration file for.

Parameters
string$env
eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper::backupConfigFile (   $configFile)
protected

Makes a backup copy of $configFile.

Parameters
string$configFile
Returns
void

Referenced by eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper\dump().

eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper::clearCache ( )
protected

Clears the configuration cache.

Referenced by eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper\dump().

eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper::dump ( array  $configArray,
  $options = ConfigDumperInterface::OPT_DEFAULT 
)

Dumps settings contained in $configArray in ezpublish.yml.

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

Implements eZ\Publish\Core\MVC\Symfony\ConfigDumperInterface.

Member Data Documentation

eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper::$cacheDir
protected
eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper::$envs
protected
eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper::$fs
protected
eZ\Bundle\EzPublishLegacyBundle\SetupWizard\ConfigurationDumper::$rootDir
protected

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