Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
|
Public Member Functions | |
isResolvable (ContainerInterface $container) | |
Check if a definition can be resolved. | |
resolve (ContainerInterface $container) | |
Resolve the definition and return the resulting value. | |
DI\Definition\SelfResolvingDefinition::isResolvable | ( | ContainerInterface | $container | ) |
Check if a definition can be resolved.
Implemented in DI\Definition\Reference, and DI\Definition\ValueDefinition.
DI\Definition\SelfResolvingDefinition::resolve | ( | ContainerInterface | $container | ) |
Resolve the definition and return the resulting value.
Implemented in DI\Definition\Reference, and DI\Definition\ValueDefinition.