Свойство | Тип | Описание | |
---|---|---|---|
$autowireExcludedClasses | of classes which shouldn't be autowired | ||
$defaultExtensions | array | ||
$onCompile | function (Configurator $sender, DI\Compiler $compiler); Occurs after the compiler is created |
Свойство | Тип | Описание | |
---|---|---|---|
$files | [file|array, section] | ||
$parameters | array | ||
$services | array |
Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
createLoader ( ) : |
||
fixCompatibility ( $config ) : array | Back compatibility with < v2.3 | |
getCacheDirectory ( ) | ||
getDefaultParameters ( ) : array |
public addConfig ( $file ) : self | ||
Результат | self |
public addParameters ( array $params ) : self | ||
$params | array | |
Результат | self |
public addServices ( array $services ) : self | ||
$services | array | |
Результат | self |
public createContainer ( ) : |
||
Результат |
protected createLoader ( ) : |
||
Результат |
public createRobotLoader ( ) : |
||
Результат |
public static detectDebugMode ( $list = NULL ) : boolean | ||
Результат | boolean |
public enableDebugger ( $logDirectory = NULL, $email = NULL ) : void | ||
Результат | void |
protected fixCompatibility ( $config ) : array | ||
Результат | array |
public generateContainer ( |
||
$compiler | ||
Результат | string |
public loadContainer ( ) : string | ||
Результат | string |
public setDebugMode ( $value ) : self | ||
Результат | self |
public setTempDirectory ( $path ) : self | ||
Результат | self |
public setTimeZone ( $timezone ) : self | ||
Результат | self |
public $autowireExcludedClasses |
public $onCompile |