Automattic\WooCommerce\Vendor\GraphQL\Utils
TypeInfo::getParentInputType
Method of the class: TypeInfo{}
No Hooks.
Returns
(Type&InputType)|null.
Usage
$TypeInfo = new TypeInfo(); $TypeInfo->getParentInputType(): ?InputType;
TypeInfo::getParentInputType() TypeInfo::getParentInputType code WC 10.9.4
public function getParentInputType(): ?InputType
{
return $this->inputTypeStack[count($this->inputTypeStack) - 2] ?? null;
}