Automattic\WooCommerce\Vendor\GraphQL

GraphQL::setDefaultFieldResolverpublic staticWC 1.0

Set default resolver implementation.

Method of the class: GraphQL{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = GraphQL::setDefaultFieldResolver( $fn ): void;
$fn(callable) (required)
.

GraphQL::setDefaultFieldResolver() code WC 10.9.1

public static function setDefaultFieldResolver(callable $fn): void
{
    Executor::setDefaultFieldResolver($fn);
}