Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
DI\Definition\ArrayDefinition Class Reference
Inheritance diagram for DI\Definition\ArrayDefinition:
DI\Definition\Definition DI\Factory\RequestedEntry DI\Definition\ArrayDefinitionExtension

Public Member Functions

 __construct (private array $values,)
 
 __toString ()
 Definitions can be cast to string for debugging information.
 
 getName ()
 Returns the name of the entry in the container.
 
 getValues ()
 
 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.
 

Member Function Documentation

◆ __toString()

DI\Definition\ArrayDefinition::__toString ( )

Definitions can be cast to string for debugging information.

Implements DI\Definition\Definition.

◆ getName()

DI\Definition\ArrayDefinition::getName ( )

Returns the name of the entry in the container.

Implements DI\Definition\Definition.

◆ replaceNestedDefinitions()

DI\Definition\ArrayDefinition::replaceNestedDefinitions ( callable $replacer)

Apply a callable that replaces the definitions nested in this definition.

Implements DI\Definition\Definition.

◆ setName()

DI\Definition\ArrayDefinition::setName ( string $name)

Set the name of the entry in the container.

Implements DI\Definition\Definition.


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