Automattic\WooCommerce\Vendor\GraphQL\Type\Definition
AbstractType::resolveType
Resolves the concrete ObjectType for the given value.
This will be called after resolveValue.
Method of the class: AbstractType{}
No Hooks.
Returns
ObjectType|String|callable|Deferred|null.
Usage
$AbstractType = new AbstractType(); $AbstractType->resolveType( $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::resolveType() AbstractType::resolveType code WC 10.9.1
public function resolveType($objectValue, $context, ResolveInfo $info);