Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
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. | |
setName (string $name) | |
Set the name of the entry in the container. | |
DI\Definition\Definition::__toString | ( | ) |
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.
DI\Definition\Definition::getName | ( | ) |
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.
DI\Definition\Definition::replaceNestedDefinitions | ( | callable | $replacer | ) |
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.
DI\Definition\Definition::setName | ( | string | $name | ) |
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.