Свойство | Type | Description | |
---|---|---|---|
$__box | object | The related box instance | |
$__dependency | array | The resolved dependency. | |
$__name | string | The name of a dependency definition | |
$__params | array | The parameters to use for resolving the dependency. | |
$__resolved | boolean | Boolean indicating if the dependency has been resolved or not. |
Méthode | Description | |
---|---|---|
__construct ( array $config = [] ) | The constructor | |
get ( ) : mixed | Resolve the dependency. |
public __construct ( array $config = [] ) | ||
$config | array | The config array. Possible values are: - `'box'` _object_: The box instance (required). - `'name'` _string_: The name of the dependency definition. - `'params'` _array_ : The parameters to use for resolving the dependency. |
protected array $__dependency | ||
Résultat | array |
protected string $__name | ||
Résultat | string |
protected array $__params | ||
Résultat | array |
protected bool $__resolved | ||
Résultat | boolean |