Automattic\WooCommerce\Vendor\GraphQL\Type\Definition
AbstractType::resolveValue
Receives the original resolved value and transforms it if necessary.
This will be called before resolveType.
Method of the class: AbstractType{}
No Hooks.
Returns
Mixed. The possibly transformed value
Usage
$AbstractType = new AbstractType(); $AbstractType->resolveValue( $objectValue, $context, $info );
- $objectValue(mixed) (required)
- The resolved value for the object type.
- $context(mixed) (required)
- The context that was passed to GraphQL::execute().
- $info(ResolveInfo) (required)
- .
AbstractType::resolveValue() AbstractType::resolveValue code WC 10.9.1
public function resolveValue($objectValue, $context, ResolveInfo $info);