Automattic\WooCommerce\Vendor\GraphQL\Validator

QueryValidationContext::getParentTypepublicWC 1.0

Method of the class: QueryValidationContext{}

No Hooks.

Returns

(CompositeType&Type)|null.

Usage

$QueryValidationContext = new QueryValidationContext();
$QueryValidationContext->getParentType(): ?CompositeType;

QueryValidationContext::getParentType() code WC 10.9.4

public function getParentType(): ?CompositeType
{
    return $this->typeInfo->getParentType();
}