ListPopLastPushHeadBlocking.php 318 B

123456789101112
  1. <?php
  2. namespace Predis\Commands;
  3. class ListPopLastPushHeadBlocking extends Command {
  4. protected function canBeHashed() {
  5. return $this->checkSameHashForKeys(
  6. array_slice($args = $this->getArguments(), 0, count($args) - 1)
  7. );
  8. }
  9. public function getId() { return 'BRPOPLPUSH'; }
  10. }