Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
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: