class DefaultResolver (View source)

Default field resolver for any type

Methods

public static 
mixed|null
defaultFieldResolver(mixed $source, mixed $args, mixed $context, ResolveInfo $info)

Note: this is copied and pasted from Executor::defaultFieldResolver(), but migrated out of thirdparty so it will be easy to update if we need to.

public static 
noop($obj)

No description

Details

static mixed|null defaultFieldResolver(mixed $source, mixed $args, mixed $context, ResolveInfo $info)

Note: this is copied and pasted from Executor::defaultFieldResolver(), but migrated out of thirdparty so it will be easy to update if we need to.

Parameters

mixed $source
mixed $args
mixed $context
ResolveInfo $info

Return Value

mixed|null

static noop($obj)

No description

Parameters

$obj