BatchStorageInterface
interface BatchStorageInterface (View source)
Defines a common interface for batch storage operations.
Methods
array
load(int $id)
Loads a batch.
create(array $batch)
Creates and saves a batch.
update(array $batch)
Updates a batch.
delete(int $id)
Deletes a batch.
cleanup()
Cleans up failed or old batches.
Details
array
load(int $id)
Loads a batch.
create(array $batch)
Creates and saves a batch.
update(array $batch)
Updates a batch.
delete(int $id)
Deletes a batch.
cleanup()
Cleans up failed or old batches.