Property | Type | Description | |
---|---|---|---|
$autowireExcludedClasses | of classes which shouldn't be autowired | ||
$defaultExtensions | array | ||
$onCompile | function (Configurator $sender, DI\Compiler $compiler); Occurs after the compiler is created |
Property | Type | Description | |
---|---|---|---|
$files | [file|array, section] | ||
$parameters | array | ||
$services | array |
Method | Description | |
---|---|---|
__construct ( ) | ||
addConfig ( $file ) : self | Adds configuration file. | |
addParameters ( array $params ) : self | Adds new parameters. The %params% will be expanded. | |
addServices ( array $services ) : self | Add instances of services. | |
createContainer ( ) : |
Returns system DI container. | |
createRobotLoader ( ) : |
||
detectDebugMode ( $list = NULL ) : boolean | Detects debug mode by IP address. | |
enableDebugger ( $logDirectory = NULL, $email = NULL ) : void | ||
generateContainer ( |
||
isDebugMode ( ) : boolean | ||
loadContainer ( ) : string | Loads system DI container class and returns its name. | |
setDebugMode ( $value ) : self | Set parameter %debugMode%. | |
setTempDirectory ( $path ) : self | Sets path to temporary directory. | |
setTimeZone ( $timezone ) : self | Sets the default timezone. |
Method | Description | |
---|---|---|
createLoader ( ) : |
||
fixCompatibility ( $config ) : array | Back compatibility with < v2.3 | |
getCacheDirectory ( ) | ||
getDefaultParameters ( ) : array |
public addParameters ( array $params ) : self | ||
$params | array | |
return | self |
public addServices ( array $services ) : self | ||
$services | array | |
return | self |
public createContainer ( ) : |
||
return |
public createRobotLoader ( ) : |
||
return |
public static detectDebugMode ( $list = NULL ) : boolean | ||
return | boolean |
public enableDebugger ( $logDirectory = NULL, $email = NULL ) : void | ||
return | void |
protected fixCompatibility ( $config ) : array | ||
return | array |
public generateContainer ( |
||
$compiler | ||
return | string |
public loadContainer ( ) : string | ||
return | string |
public setDebugMode ( $value ) : self | ||
return | self |
public setTempDirectory ( $path ) : self | ||
return | self |
public setTimeZone ( $timezone ) : self | ||
return | self |
public $autowireExcludedClasses |
public $onCompile |