Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
DI\Definition\SelfResolvingDefinition Interface Reference
Inheritance diagram for DI\Definition\SelfResolvingDefinition:
DI\Definition\Reference DI\Definition\ValueDefinition

Public Member Functions

 isResolvable (ContainerInterface $container)
 Check if a definition can be resolved.
 
 resolve (ContainerInterface $container)
 Resolve the definition and return the resulting value.
 

Member Function Documentation

◆ isResolvable()

DI\Definition\SelfResolvingDefinition::isResolvable ( ContainerInterface $container)

Check if a definition can be resolved.

Implemented in DI\Definition\Reference, and DI\Definition\ValueDefinition.

◆ resolve()

DI\Definition\SelfResolvingDefinition::resolve ( ContainerInterface $container)

Resolve the definition and return the resulting value.

Implemented in DI\Definition\Reference, and DI\Definition\ValueDefinition.


The documentation for this interface was generated from the following file: