DynamicDatabaseConfig

Base class for database config

package

DynamicDatabaseConfig

subpackage

Config

Methods

Init config properties

__construct() 

Rename configs. Can be used for change default configs to public/test configs dependings on method _renameConfig

_applyNamingSchema() 

Returns list of all config names

_getConfigsNames() : array

Response

array

Return list of config makers - public methods with configs

_getMakersNames() : array

Response

array

Makers names

Init config properties from methods

_initialize() 

Try to rename config accordingly to your rules.

_renameConfig(string $configName) : string

Called when static::APPLY_NAMING_SCHEMA == true. If returned value not equals to $configName config property with returned name will be erased with config from $configName

Arguments

$configName

string

Response

string

Constants

If true will apply naming schema after initialize

APPLY_NAMING_SCHEMA