Automattic\WooCommerce\Vendor\GraphQL\Utils

SchemaExtender::extensionASTNodesprotectedWC 1.0

Method of the class: SchemaExtender{}

No Hooks.

Returns

Array|null.

Usage

// protected - for code of main (parent) or child class
$result = $this->extensionASTNodes( $type ): ?array;
$type(Type&NamedType) (required)
.

SchemaExtender::extensionASTNodes() code WC 10.9.1

protected function extensionASTNodes(NamedType $type): ?array
{
    return [
        ...$type->extensionASTNodes ?? [],
        ...$this->typeExtensionsMap[$type->name] ?? [],
    ];
}