Configurator
class Configurator
Initial system DI container generator.
Constants
AUTO |
|
NONE |
|
COOKIE_SECRET |
|
Properties
callable[] | $onCompile | ||
array | $defaultExtensions | ||
string[] | $autowireExcludedClasses | ||
protected array | $parameters | ||
protected array | $dynamicParameters | ||
protected array | $services | ||
protected array | $files |
Methods
No description
Set parameter %debugMode%.
No description
Sets path to temporary directory.
Sets the default timezone.
Adds new parameters. The %params% will be expanded.
Adds new dynamic parameters.
Add instances of services.
No description
No description
Alias for enableTracy()
No description
Adds configuration file.
Returns system DI container.
Loads system DI container class and returns its name.
No description
No description
No description
Back compatibility with < v2.3
Detects debug mode by IP addresses or computer names whitelist detection.
Details
at line 69
__construct()
No description
at line 80
Configurator
setDebugMode(bool|string|array $value)
Set parameter %debugMode%.
at line 96
bool
isDebugMode()
No description
at line 107
Configurator
setTempDirectory(string $path)
Sets path to temporary directory.
at line 119
Configurator
setTimeZone(string $timezone)
Sets the default timezone.
at line 131
Configurator
addParameters(array $params)
Adds new parameters. The %params% will be expanded.
at line 142
Configurator
addDynamicParameters(array $params)
Adds new dynamic parameters.
at line 153
Configurator
addServices(array $services)
Add instances of services.
at line 163
protected array
getDefaultParameters()
No description
at line 183
void
enableTracy(string $logDirectory = null, string $email = null)
No description
at line 195
void
enableDebugger(string $logDirectory = null, string $email = null)
Alias for enableTracy()
at line 207
RobotLoader
createRobotLoader()
No description
at line 225
Configurator
addConfig(string|array $file)
Adds configuration file.
at line 240
Container
createContainer()
Returns system DI container.
at line 259
string
loadContainer()
Loads system DI container class and returns its name.
at line 277
string
generateContainer(Compiler $compiler)
internal |
No description
at line 314
protected Loader
createLoader()
No description
at line 323
protected string
getCacheDirectory()
No description
at line 338
protected array
fixCompatibility($config)
Back compatibility with < v2.3
at line 378
static bool
detectDebugMode(string|array $list = null)
Detects debug mode by IP addresses or computer names whitelist detection.