|
| __toString () |
| Definitions can be cast to string for debugging information.
|
|
| addMethodInjection (MethodInjection $methodInjection) |
|
| addPropertyInjection (PropertyInjection $propertyInjection) |
|
| classExists () |
|
| completeConstructorInjection (MethodInjection $injection) |
|
| completeFirstMethodInjection (MethodInjection $injection) |
|
| getClassName () |
|
| getConstructorInjection () |
|
| getMethodInjections () |
|
| getName () |
| Returns the name of the entry in the container.
|
|
| getPropertyInjections () |
|
| isInstantiable () |
|
| isLazy () |
|
| replaceNestedDefinitions (callable $replacer) |
| Apply a callable that replaces the definitions nested in this definition.
|
|
| replaceWildcards (array $replacements) |
| Replaces all the wildcards in the string with the given replacements.
|
|
| setClassName (?string $className) |
|
| setConstructorInjection (MethodInjection $constructorInjection) |
|
| setLazy (bool $lazy=null) |
|
| setName (string $name) |
| Set the name of the entry in the container.
|
|
|
string | $className = null |
| Class name (if null, then the class name is $name).
|
|
MethodInjection | $constructorInjection = null |
|
bool | $lazy = null |
|
MethodInjection[][] array | $methodInjections = [] |
| Method calls.
|
|
array | $propertyInjections = [] |
|
◆ __toString()
DI\Definition\ObjectDefinition::__toString |
( |
| ) |
|
|
inherited |
◆ getMethodInjections()
DI\Definition\ObjectDefinition::getMethodInjections |
( |
| ) |
|
|
inherited |
- Return values
-
MethodInjection[] | Method injections |
◆ getName()
DI\Definition\ObjectDefinition::getName |
( |
| ) |
|
|
inherited |
◆ getPropertyInjections()
DI\Definition\ObjectDefinition::getPropertyInjections |
( |
| ) |
|
|
inherited |
- Return values
-
PropertyInjection[] | Property injections |
◆ replaceNestedDefinitions()
DI\Definition\ObjectDefinition::replaceNestedDefinitions |
( |
callable | $replacer | ) |
|
|
inherited |
◆ replaceWildcards()
DI\Definition\ObjectDefinition::replaceWildcards |
( |
array | $replacements | ) |
|
|
inherited |
Replaces all the wildcards in the string with the given replacements.
- Parameters
-
◆ setName()
DI\Definition\ObjectDefinition::setName |
( |
string | $name | ) |
|
|
inherited |
The documentation for this class was generated from the following file:
- lib/php-di/php-di/src/Definition/AutowireDefinition.php