class DefaultResolver (View source)

Default field resolver for any type

Methods

public static 
mixed|null
defaultFieldResolver($source, $args, $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($source, $args, $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

$source
$args
$context
ResolveInfo $info

Return Value

mixed|null

static noop($obj)

No description

Parameters

$obj