Class NConfigurator (namespace Nette)
NEnvironment helper.
NObject | --NConfigurator
Public Method Summary | |
---|---|
static ICacheStorage |
|
static NRobotLoader |
createRobotLoader
($options)
|
IServiceLocator |
Get initial instance of service locator.
|
bool |
detect
(string $name)
Detect environment mode.
|
NConfig |
loadConfig
(string|NConfig $file)
Loads global configuration from file and process it.
|
Methods Inherited From NObject |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Variable Summary | ||||
---|---|---|---|---|
string | $defaultConfigFile | '%appDir%/config.ini' |
line 36 |
|
array | $defaultServices | array(
'NApplication' => 'NApplication',
'IHttpRequest' => 'NHttpRequest',... |
line 39 |
Method Details | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
line 264 createCacheStoragepublic static ICacheStorage createCacheStorage ()
|
||||||||||||
line 274 createRobotLoaderpublic static NRobotLoader createRobotLoader ($options)
|
||||||||||||
line 250 createServiceLocatorpublic IServiceLocator createServiceLocator () Get initial instance of service locator.
|
||||||||||||
line 56 detectpublic bool detect (string $name) Detect environment mode.
|
||||||||||||
line 104 loadConfigpublic NConfig loadConfig (string|NConfig $file) Loads global configuration from file and process it.
|