Rollback deprecated
class Rollback extends MutationScaffolder implements OperationResolver (View source)
deprecated
Scaffolds a "rollback recursive" operation for DataObjects.
rollback[TypeName](ID!, ToVersion!)
Methods
public
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()
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