Class Configurator
Initial system DI container generator.
- Nette\Configurator uses Nette\SmartObject
public
|
|
public
|
|
public
boolean
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
protected
array
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
string
|
|
public
string
|
|
protected
|
|
protected
string
|
|
protected
array
|
|
public static
boolean
|
#
detectDebugMode( string|array $list = null )
Detects debug mode by IP addresses or computer names whitelist detection. |
__call(),
__callStatic(),
__get(),
__isset(),
__set(),
__unset(),
extensionMethod(),
getReflection()
|
boolean |
AUTO
|
# true |
boolean |
NONE
|
# false |
string |
COOKIE_SECRET
|
# 'nette-debug' |
public
callable[]
|
$onCompile
function (Configurator $sender, DI\Compiler $compiler); Occurs after the compiler is created |
|
public
array
|
$defaultExtensions
|
# [
'php' => Nette\DI\Extensions\PhpExtension::class,
'constants' => Nette\DI\Extensions\ConstantsExtension::class,
'extensions' => Nette\DI\Extensions\ExtensionsExtension::class,
'application' => [Nette\Bridges\ApplicationDI\ApplicationExtension::class, ['%debugMode%', ['%appDir%'], '%tempDir%/cache']],
'decorator' => Nette\DI\Extensions\DecoratorExtension::class,
'cache' => [Nette\Bridges\CacheDI\CacheExtension::class, ['%tempDir%']],
'database' => [Nette\Bridges\DatabaseDI\DatabaseExtension::class, ['%debugMode%']],
'di' => [Nette\DI\Extensions\DIExtension::class, ['%debugMode%']],
'forms' => Nette\Bridges\FormsDI\FormsExtension::class,
'http' => [Nette\Bridges\HttpDI\HttpExtension::class, ['%consoleMode%']],
'latte' => [Nette\Bridges\ApplicationDI\LatteExtension::class, ['%tempDir%/cache/latte', '%debugMode%']],
'mail' => Nette\Bridges\MailDI\MailExtension::class,
'routing' => [Nette\Bridges\ApplicationDI\RoutingExtension::class, ['%debugMode%']],
'security' => [Nette\Bridges\SecurityDI\SecurityExtension::class, ['%debugMode%']],
'session' => [Nette\Bridges\HttpDI\SessionExtension::class, ['%debugMode%', '%consoleMode%']],
'tracy' => [Tracy\Bridges\Nette\TracyExtension::class, ['%debugMode%', '%consoleMode%']],
'inject' => Nette\DI\Extensions\InjectExtension::class,
] |
public
string[]
|
$autowireExcludedClasses
of classes which shouldn't be autowired |
# [
'stdClass',
] |
protected
array
|
$parameters
|
|
protected
array
|
$dynamicParameters
|
# [] |
protected
array
|
$services
|
# [] |
protected
array
|
$files
[file|array, section] |
# [] |