Class Configurator (namespace Nette)
Nette\Environment helper.
Object | --Configurator
| Method Summary | |
|---|---|
| static ICacheStorage |
|
| IServiceLocator |
Get initial instance of service locator.
|
| bool |
detect
(string $name)
Detect environment mode.
|
| Config |
loadConfig
(string|Nette\Config\Config $file)
Loads global configuration from file and process it.
|
| Variable Summary | ||||
|---|---|---|---|---|
| string | $defaultConfigFile | '%appDir%/config.ini' |
line 39 |
|
| array | $defaultServices | array(
'Nette\Application\Application' => 'Nette\Application\Application',... |
line 42 |
|
| Method Details | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
line 238 createCacheStoragepublic static ICacheStorage createCacheStorage ()
|
||||||||||||
|
line 224 createServiceLocatorpublic IServiceLocator createServiceLocator () Get initial instance of service locator.
|
||||||||||||
|
line 58 detectpublic bool detect (string $name) Detect environment mode.
|
||||||||||||
|
line 115 loadConfigpublic Config loadConfig (string|Nette\Config\Config $file) Loads global configuration from file and process it.
|
||||||||||||