ContainerFactory
class ContainerFactory
Initial system DI container generator.
Properties
$defaultExtensions | |||
string[] | $autowireExcludedClasses | ||
protected | $staticParameters | ||
protected | $dynamicParameters | ||
protected | $services | ||
protected (string|array)[] | $configs |
Methods
__construct()
No description
setDebugMode(bool|string|array $value)
Set parameter %debugMode%.
setTempDirectory(string $path)
Sets path to temporary directory.
addStaticParameters(array $params)
Adds new static parameters.
addDynamicParameters(array $params)
Adds new dynamic parameters.
addServices(array $services)
Add instances of services.
addConfig(string|array $config)
Adds configuration file.
createContainer(bool $initialize = true)
Returns system DI container.
string
loadContainer()
Loads system DI container class and returns its name.
void
createLoader()
No description
array
generateContainerKey()
No description
string
getCacheDirectory()
No description
Details
at line 47
__construct()
No description
at line 55
ContainerFactory
setDebugMode(bool|string|array $value)
Set parameter %debugMode%.
at line 65
ContainerFactory
setTempDirectory(string $path)
Sets path to temporary directory.
at line 75
ContainerFactory
addStaticParameters(array $params)
Adds new static parameters.
at line 85
ContainerFactory
addDynamicParameters(array $params)
Adds new dynamic parameters.
at line 95
ContainerFactory
addServices(array $services)
Add instances of services.
at line 105
ContainerFactory
addConfig(string|array $config)
Adds configuration file.
at line 115
Container
createContainer(bool $initialize = true)
Returns system DI container.
at line 134
string
loadContainer()
Loads system DI container class and returns its name.
at line 150
void
generateContainer(Compiler $compiler)
internal |
No description
at line 183
protected Loader
createLoader()
No description
at line 189
protected array
generateContainerKey()
No description
at line 203
protected string
getCacheDirectory()
No description