Creates and saves a batch.
array $batch: The array representing the batch to create.
Overrides BatchStorageInterface::create
function create(array $batch) {
$this->connection
->insert('batch')
->fields(array(
'bid' => $batch['id'],
'timestamp' => REQUEST_TIME,
'token' => drupal_get_token($batch['id']),
'batch' => serialize($batch),
))
->execute();
}