console\Application loadConfig()

loadConfig() protected method

Loads the configuration.

This method will check if the command line option OPTION_APPCONFIG is specified. If so, the corresponding file will be loaded as the application configuration. Otherwise, the configuration provided as the parameter will be returned back.

protected array loadConfig ( $config )
$config array

The configuration provided in the constructor.

return array

The actual configuration to be used by the application.

doc_Yii
2016-10-30 16:54:39
Comments
Leave a Comment

Please login to continue.