Automattic\WooCommerce\Vendor\GraphQL\Validator
QueryValidationContext::getParentType
Method of the class: QueryValidationContext{}
No Hooks.
Returns
(CompositeType&Type)|null.
Usage
$QueryValidationContext = new QueryValidationContext(); $QueryValidationContext->getParentType(): ?CompositeType;
QueryValidationContext::getParentType() QueryValidationContext::getParentType code WC 10.9.4
public function getParentType(): ?CompositeType
{
return $this->typeInfo->getParentType();
}