Class Configurator (namespace Nette)
Nette\Environment helper.
Object | --Configurator
Public Method Summary | |
---|---|
static ICacheStorage |
|
static RobotLoader |
createRobotLoader
($options)
|
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 24 |
|
array | $defaultServices | array(
'Nette\Application\Application' => 'Nette\Application\Application',... |
line 27 |
Method Details | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
line 255 createCacheStoragepublic static ICacheStorage createCacheStorage ()
|
||||||||||||
line 265 createRobotLoaderpublic static RobotLoader createRobotLoader ($options)
|
||||||||||||
line 241 createServiceLocatorpublic IServiceLocator createServiceLocator () Get initial instance of service locator.
|
||||||||||||
line 45 detectpublic bool detect (string $name) Detect environment mode.
|
||||||||||||
line 93 loadConfigpublic Config loadConfig (string|Nette\Config\Config $file) Loads global configuration from file and process it.
|