Method | Description | |
---|---|---|
__construct ( string $environmentVariableName = null, string $configurationPath = null ) | Constructs reader. | |
debugInformation ( ) : array | Returns array with configuration debug information. | |
getConfigurationFilePath ( ) : null | string | Returns configuration file path. | |
getEnvironmentVariableName ( ) : null | string | Returns environment variable name. | |
loadConfiguration ( string $profile = 'default' ) : array | Reads configuration sequence for specific profile. | |
setConfigurationFilePath ( null | string $path ) | Sets configuration file path. | |
setEnvironmentVariableName ( null | string $variable ) | Sets environment variable name. |
Method | Description | |
---|---|---|
loadEnvironmentConfiguration ( ) : array | Loads information from environment variable. | |
loadFileConfiguration ( string $configPath, string $profile ) : array | Loads information from YAML configuration file. |
Method | Description | |
---|---|---|
loadConfigs ( string $basePath, array $config, string $profile ) : array | Loads configs for provided config and profile. | |
loadImports ( string $basePath, array $paths, string $profile ) : array | Loads all provided imports. | |
parseImport ( string $basePath, string $path, string $profile ) : array | Parses import. |
public __construct ( string $environmentVariableName = null, string $configurationPath = null ) | ||
$environmentVariableName | string | Environment variable name |
$configurationPath | string | Configuration file path |
public debugInformation ( ) : array | ||
return | array |
public getConfigurationFilePath ( ) : null | string | ||
return | null | string |
public getEnvironmentVariableName ( ) : null | string | ||
return | null | string |
public loadConfiguration ( string $profile = 'default' ) : array | ||
$profile | string | Profile name |
return | array |
protected loadEnvironmentConfiguration ( ) : array | ||
return | array |
public setConfigurationFilePath ( null | string $path ) | ||
$path | null | string |
public setEnvironmentVariableName ( null | string $variable ) | ||
$variable | null | string |