Méthode |
Description |
|
__construct ( Environment $environment ) |
Base constructor. |
|
getAbsolutePath ( ) : string |
Get application root absolute path. |
|
getApplicationConfig ( string $query = '', null $default = null ) : mixed | ConfigObject |
Get the application configuration (config from App.yaml file). |
|
getComponentConfig ( string $component, string $query = '', null $default = null ) : mixed | ConfigObject |
Get a component configuration (configurations from within the environment folder). |
|
getEnvironmentConfig ( string $query = '', null $default = null ) : mixed | ConfigObject |
Returns the current environment configuration. |
|
getEnvironmentName ( ) : string |
Get the name of current environment. |
|
getNamespace ( ) : string |
Get application namespace. |
|
getWebPath ( ) : string |
Get application web path. |
|
httpResponse ( ) : Response | boolean |
Send the http response to the browser. |
|
isProductionEnvironment ( ) : boolean |
Checks if current environment is Production. |
|
showErrors ( ) : boolean |
Based on the current environment configuration, should system errors be shown or not. |
|
view ( ) : View |
Get the view instance. |
|