Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Public Member Functions | |
__toString () | |
Definitions can be cast to string for debugging information. | |
getName () | |
Returns the name of the entry in the container. | |
replaceNestedDefinitions (callable $replacer) | |
Apply a callable that replaces the definitions nested in this definition. | |
setExtendedDefinition (Definition $definition) | |
setName (string $name) | |
Set the name of the entry in the container. | |
|
inherited |
Definitions can be cast to string for debugging information.
Implemented in DI\Definition\ArrayDefinition, DI\Definition\DecoratorDefinition, DI\Definition\EnvironmentVariableDefinition, DI\Definition\FactoryDefinition, DI\Definition\InstanceDefinition, DI\Definition\ObjectDefinition, DI\Definition\ObjectDefinition\MethodInjection, DI\Definition\Reference, and DI\Definition\ValueDefinition.
|
inherited |
Returns the name of the entry in the container.
Implements DI\Factory\RequestedEntry.
Implemented in DI\Definition\ArrayDefinition, DI\Definition\EnvironmentVariableDefinition, DI\Definition\FactoryDefinition, DI\Definition\InstanceDefinition, DI\Definition\ObjectDefinition, DI\Definition\ObjectDefinition\MethodInjection, DI\Definition\Reference, and DI\Definition\ValueDefinition.
|
inherited |
Apply a callable that replaces the definitions nested in this definition.
Implemented in DI\Definition\ArrayDefinition, DI\Definition\DecoratorDefinition, DI\Definition\EnvironmentVariableDefinition, DI\Definition\FactoryDefinition, DI\Definition\InstanceDefinition, DI\Definition\ObjectDefinition\MethodInjection, DI\Definition\ObjectDefinition, DI\Definition\Reference, and DI\Definition\ValueDefinition.
|
inherited |
Set the name of the entry in the container.
Implemented in DI\Definition\ArrayDefinition, DI\Definition\EnvironmentVariableDefinition, DI\Definition\FactoryDefinition, DI\Definition\InstanceDefinition, DI\Definition\ObjectDefinition\MethodInjection, DI\Definition\ObjectDefinition, DI\Definition\Reference, and DI\Definition\ValueDefinition.