A stub method called by _config() which allows Adaptable subclasses to automatically
assign or auto-generate additional configuration data, once a configuration is first
accessed. This allows configuration data to be lazy-loaded from adapters or other data
sources.
protected static _initConfig ( string $name, array $config ) : array | ||
$name | string | The name of the configuration which is being accessed. This is the key name containing the specific set of configuration passed into `config()`. |
$config | array | Contains the configuration assigned to `$name`. If this configuration is segregated by environment, then this will contain the configuration for the current environment. |
return | array | Returns the final array of settings for the given named configuration. |