Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Invoker\ParameterResolver\NumericArrayResolver Class Reference
Inheritance diagram for Invoker\ParameterResolver\NumericArrayResolver:
Invoker\ParameterResolver\ParameterResolver

Public Member Functions

 getParameters (ReflectionFunctionAbstract $reflection, array $providedParameters, array $resolvedParameters)
 Resolves the parameters to use to call the callable.
 

Member Function Documentation

◆ getParameters()

Invoker\ParameterResolver\NumericArrayResolver::getParameters ( ReflectionFunctionAbstract $reflection,
array $providedParameters,
array $resolvedParameters )

Resolves the parameters to use to call the callable.

$resolvedParameters contains parameters that have already been resolved.

Each ParameterResolver must resolve parameters that are not already in $resolvedParameters. That allows to chain multiple ParameterResolver.

Parameters
ReflectionFunctionAbstract$reflectionReflection object for the callable.
array$providedParametersParameters provided by the caller.
array$resolvedParametersParameters resolved (indexed by parameter position).
Return values
array

Implements Invoker\ParameterResolver\ParameterResolver.


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