Configurator
class Configurator extends Object
Initial system DI container generator.
Constants
AUTO |
|
deprecated DEVELOPMENT |
|
deprecated PRODUCTION |
|
deprecated NONE |
|
COOKIE_SECRET |
|
Properties
callable[] | $onCompile | ||
array | $defaultExtensions | ||
protected array | $parameters | ||
protected array | $files | ||
bool | $debugMode | ||
write-only | $tempDirectory |
Methods
__construct()
No description
setDebugMode($value)
Set parameter %debugMode%.
bool
isDebugMode()
No description
setTempDirectory($path)
Sets path to temporary directory.
addParameters(array $params)
Adds new parameters. The %params% will be expanded.
array
getDefaultParameters()
No description
void
enableDebugger($logDirectory = NULL, $email = NULL)
No description
RobotLoader
createRobotLoader()
No description
addConfig($file, $section = NULL)
Adds configuration file.
SystemContainer|Container
createContainer()
Returns system DI container.
ContainerFactory
createContainerFactory()
No description
getCacheDirectory()
No description
static bool
detectDebugMode($list = NULL)
Detects debug mode by IP address.
Details
at line 53
__construct()
No description
at line 64
Configurator
setDebugMode($value)
Set parameter %debugMode%.
at line 80
bool
isDebugMode()
No description
at line 90
Configurator
setTempDirectory($path)
Sets path to temporary directory.
at line 101
Configurator
addParameters(array $params)
Adds new parameters. The %params% will be expanded.
at line 111
protected array
getDefaultParameters()
No description
at line 137
void
enableDebugger($logDirectory = NULL, $email = NULL)
No description
at line 149
RobotLoader
createRobotLoader()
No description
at line 166
Configurator
addConfig($file, $section = NULL)
Adds configuration file.
at line 186
SystemContainer|Container
createContainer()
Returns system DI container.
at line 200
protected ContainerFactory
createContainerFactory()
No description
at line 226
protected
getCacheDirectory()
No description
at line 247
static bool
detectDebugMode($list = NULL)
Detects debug mode by IP address.