Automattic\WooCommerce\Vendor\GraphQL

GraphQL::setDefaultFieldResolver │ public static │ WC 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 11.1.2

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