mirror of
https://github.com/predis/predis.git
synced 2026-08-25 04:29:36 +00:00
17 lines
364 B
PHP
17 lines
364 B
PHP
<?php
|
|
|
|
namespace Predis\Commands;
|
|
|
|
use Predis\Command;
|
|
|
|
class BackgroundSave extends Command {
|
|
public function canBeHashed() { return false; }
|
|
public function getCommandId() { return 'BGSAVE'; }
|
|
public function parseResponse($data) {
|
|
if ($data == 'Background saving started') {
|
|
return true;
|
|
}
|
|
return $data;
|
|
}
|
|
}
|