Class Configurator (namespace Nette)
Nette\Environment helper.
Object | --Configurator
Public 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.
|
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Variable Summary | ||||
---|---|---|---|---|
string | $defaultConfigFile | '%appDir%/config.ini' |
line 37 |
|
array | $defaultServices | array(
'Nette\Application\Application' => 'Nette\Application\Application',... |
line 40 |
Method Details | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
line 244 createCacheStoragepublic static ICacheStorage createCacheStorage ()
|
||||||||||||
line 230 createServiceLocatorpublic IServiceLocator createServiceLocator () Get initial instance of service locator.
|
||||||||||||
line 56 detectpublic bool detect (string $name) Detect environment mode.
|
||||||||||||
line 114 loadConfigpublic Config loadConfig (string|Nette\Config\Config $file) Loads global configuration from file and process it.
|