Méthode | Description | |
---|---|---|
__construct ( array $definitions = [] ) | ||
addDefinition ( DI\Definition\Definition $definition ) | ||
addDefinitions ( array $definitions ) | ||
getDefinition ( $name ) |
Méthode | Description | |
---|---|---|
castDefinition ( mixed $definition, string $name ) : DI\Definition\Definition | ||
replaceWildcards ( string $string, array $replacements ) : string | Replaces all the wildcards in the string with the given replacements. |
public addDefinition ( DI\Definition\Definition $definition ) | ||
$definition | DI\Definition\Definition |
public addDefinitions ( array $definitions ) | ||
$definitions | array | DI definitions in a PHP array indexed by the definition name. |