Configurator
class Configurator
Initial system DI container generator.
Constants
CookieSecret |
|
deprecated COOKIE_SECRET |
|
Properties
$onCompile | |||
$defaultExtensions | |||
string[] | $autowireExcludedClasses | ||
protected | $staticParameters | ||
protected | $dynamicParameters | ||
protected | $services | ||
protected (string|array)[] | $configs |
Methods
No description
Set parameter %debugMode%.
No description
Sets path to temporary directory.
Sets the default timezone.
Adds new static parameters.
Adds new dynamic parameters.
Add instances of services.
No description
No description
No description
No description
Adds configuration file.
Returns system DI container.
Loads system DI container class and returns its name.
No description
No description
No description
No description
Detects debug mode by IP addresses or computer names whitelist detection.
Details
at line 73
__construct()
No description
at line 89
Configurator
setDebugMode(bool|string|array $value)
Set parameter %debugMode%.
at line 101
bool
isDebugMode()
No description
at line 110
Configurator
setTempDirectory(string $path)
Sets path to temporary directory.
at line 120
Configurator
setTimeZone(string $timezone)
Sets the default timezone.
at line 129
Configurator
addParameters(array $params)
deprecated
deprecated
No description
at line 138
Configurator
addStaticParameters(array $params)
Adds new static parameters.
at line 148
Configurator
addDynamicParameters(array $params)
Adds new dynamic parameters.
at line 158
Configurator
addServices(array $services)
Add instances of services.
at line 165
protected array
getDefaultParameters()
No description
at line 188
void
enableTracy(string|null $logDirectory = null, string|null $email = null)
No description
at line 204
void
enableDebugger(string|null $logDirectory = null, string|null $email = null)
deprecated
deprecated
No description
at line 213
RobotLoader
createRobotLoader()
No description
at line 235
Configurator
addConfig(string|array $config)
Adds configuration file.
at line 245
Container
createContainer(bool $initialize = true)
Returns system DI container.
at line 264
string
loadContainer()
Loads system DI container class and returns its name.
at line 280
void
generateContainer(Compiler $compiler)
internal |
No description
at line 313
protected Loader
createLoader()
No description
at line 319
protected array
generateContainerKey()
No description
at line 333
protected string
getCacheDirectory()
No description
at line 348
static bool
detectDebugMode(string|array|null $list = null)
Detects debug mode by IP addresses or computer names whitelist detection.