Configurator
class Configurator extends Object
Initial system DI container generator.
Constants
AUTO |
|
NONE |
|
COOKIE_SECRET |
|
Properties
callable[] | $onCompile | ||
array | $defaultExtensions | ||
string[] | $autowireExcludedClasses | ||
protected array | $parameters | ||
protected array | $services | ||
protected array | $files |
Methods
No description
Set parameter %debugMode%.
No description
Sets path to temporary directory.
Adds new parameters. The %params% will be expanded.
Add instances of services.
No description
No description
No description
Adds configuration file.
Returns system DI container.
No description
No description
No description
Back compatibility with < v2.3
Detects debug mode by IP address.
Details
at line 65
__construct()
No description
at line 76
Configurator
setDebugMode($value)
Set parameter %debugMode%.
at line 93
bool
isDebugMode()
No description
at line 103
Configurator
setTempDirectory($path)
Sets path to temporary directory.
at line 114
Configurator
addParameters(array $params)
Adds new parameters. The %params% will be expanded.
at line 125
Configurator
addServices(array $services)
Add instances of services.
at line 135
protected array
getDefaultParameters()
No description
at line 160
void
enableDebugger($logDirectory = NULL, $email = NULL)
No description
at line 172
RobotLoader
createRobotLoader()
No description
at line 189
Configurator
addConfig($file, $section = NULL)
Adds configuration file.
at line 209
Container
createContainer()
Returns system DI container.
at line 236
string
generateContainer(Compiler $compiler)
internal |
No description
at line 278
protected Loader
createLoader()
No description
at line 284
protected
getCacheDirectory()
No description
at line 301
protected array
fixCompatibility($config)
Back compatibility with < v2.3
at line 339
static bool
detectDebugMode($list = NULL)
Detects debug mode by IP address.