Rollback
class Rollback extends MutationScaffolder implements OperationResolver (View source)
Scaffolds a "rollback recursive" operation for DataObjects.
rollback[TypeName](ID!, ToVersion!)
Methods
__construct(string $dataObjectClass)
CreateOperationScaffolder constructor.
string
getName()
No description
array
createDefaultArgs(Manager $manager)
No description
mixed
resolve(mixed $object, array $args, mixed $context, ResolveInfo $info)
Invoked by the Executor class to resolve this mutation / query
Details
__construct(string $dataObjectClass)
CreateOperationScaffolder constructor.
string
getName()
array
createDefaultArgs(Manager $manager)
mixed
resolve(mixed $object, array $args, mixed $context, ResolveInfo $info)
Invoked by the Executor class to resolve this mutation / query