mirror of
https://github.com/predis/predis.git
synced 2026-08-21 10:51:24 +00:00
15 lines
336 B
PHP
15 lines
336 B
PHP
<?php
|
|
|
|
namespace Predis\Commands;
|
|
|
|
class BackgroundSave extends Command {
|
|
public function canBeHashed() { return false; }
|
|
public function getId() { return 'BGSAVE'; }
|
|
public function parseResponse($data) {
|
|
if ($data == 'Background saving started') {
|
|
return true;
|
|
}
|
|
return $data;
|
|
}
|
|
}
|