mirror of
https://github.com/predis/predis.git
synced 2026-11-26 21:53:10 +00:00
17 lines
373 B
PHP
17 lines
373 B
PHP
<?php
|
|
|
|
namespace Predis\Commands;
|
|
|
|
class ListPushTailV24x extends Command {
|
|
public function getId() {
|
|
return 'RPUSH';
|
|
}
|
|
|
|
public function filterArguments(Array $arguments) {
|
|
if (count($arguments) === 2 && is_array($arguments[1])) {
|
|
return array_merge(array($arguments[0]), $arguments[1]);
|
|
}
|
|
return $arguments;
|
|
}
|
|
}
|