DynamicDatabaseConfigTest2

Extends \DynamicDatabaseConfig

DynamicDatabaseConfigTest2

package

DynamicDatabaseConfigTest

subpackage

Config

Methods

Init config properties

__construct() 
inherited

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

_applyNamingSchema() 
inherited

Returns list of all config names

_getConfigsNames() : array
inherited

Response

array

Return list of config makers - public methods with configs

_getMakersNames() : array
inherited

Response

array

Makers names

Init config properties from methods

_initialize() 
inherited

Try to rename config accordingly to your rules.

_renameConfig(string $configName) : string
inherited

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

dbConfig1

dbConfig1() : array

Response

array

dbConfig1Public

dbConfig1Public() : array

Response

array

dbConfig1Test

dbConfig1Test() : array

Response

array

Constants

If true will apply naming schema after initialize

APPLY_NAMING_SCHEMA
inherited