class ReadVersions extends ListQueryScaffolder implements OperationResolver (View source)

Scaffolds a generic read operation for DataObjects.

Methods

__construct(string $dataObjectClass, string $versionTypeName)

ReadOperationScaffolder constructor.

resolve($object, array $args, $context, ResolveInfo $info)

No description

Details

__construct(string $dataObjectClass, string $versionTypeName)

ReadOperationScaffolder constructor.

Parameters

string $dataObjectClass
string $versionTypeName

resolve($object, array $args, $context, ResolveInfo $info)

Parameters

$object
array $args
$context
ResolveInfo $info