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