Automattic\WooCommerce\Vendor\GraphQL\Validator

QueryValidationContext::getInputTypepublicWC 1.0

Method of the class: QueryValidationContext{}

No Hooks.

Returns

(Type&InputType)|null.

Usage

$QueryValidationContext = new QueryValidationContext();
$QueryValidationContext->getInputType(): ?InputType;

QueryValidationContext::getInputType() code WC 10.9.1

public function getInputType(): ?InputType
{
    return $this->typeInfo->getInputType();
}