mirror of
https://github.com/predis/predis.git
synced 2026-08-23 02:20:56 +00:00
18 lines
297 B
PHP
18 lines
297 B
PHP
<?php
|
|
|
|
namespace Predis\Commands;
|
|
|
|
class RandomKey extends Command {
|
|
public function getId() {
|
|
return 'RANDOMKEY';
|
|
}
|
|
|
|
protected function canBeHashed() {
|
|
return false;
|
|
}
|
|
|
|
public function parseResponse($data) {
|
|
return $data !== '' ? $data : null;
|
|
}
|
|
}
|