Method | Description | |
---|---|---|
getApplicationAbsolutePath ( ) : string | Get the current application absolute path. | |
getApplicationConfig ( ) : |
Get current application configuration. | |
getComponentConfigs ( ) : |
Get all loaded configurations. | |
getCurrentEnvironmentConfig ( ) : |
Get application config based on the current environment. | |
getCurrentEnvironmentName ( ) : string | Get the name of the current loaded environment. | |
initializeEnvironment ( string $applicationAbsolutePath ) | Initializes the environment and loads all the configurations from it. |
Method | Description | |
---|---|---|
initializeComponentConfigurations ( ) | Initializes component configurations. | |
initializeEnvironmentInternal ( ) | Initializes current environment. | |
loadApplicationConfig ( ) | Loads application configuration. | |
loadConfigurations ( string $environment ) : |
Loads all the configurations from a specific environment. | |
registerAppNamespace ( ) | Registers the application namespace with the ClassLoader component. | |
setErrorReporting ( ) | Sets the error reporting based on the environment. |
public getApplicationAbsolutePath ( ) : string | ||
return | string |
public getApplicationConfig ( ) : |
||
return |
public getComponentConfigs ( ) : |
||
return |
public getCurrentEnvironmentConfig ( ) : |
||
return |
public getCurrentEnvironmentName ( ) : string | ||
return | string |
public initializeEnvironment ( string $applicationAbsolutePath ) | ||
$applicationAbsolutePath | string | Absolute path to the root of the application. |