Sha256: 4684362d79134af387191aa3f9064feea8103cb25f5fae31628e98b69574e93a

Contents?: true

Size: 472 Bytes

Versions: 7

Compression:

Stored size: 472 Bytes

Contents

<?php

namespace Predis\Commands;

class ListPopLastPushHeadBlocking extends Command {
    public function getId() {
        return 'BRPOPLPUSH';
    }

    protected function onPrefixKeys(Array $arguments, $prefix) {
        return PrefixHelpers::skipLastArgument($arguments, $prefix);
    }

    protected function canBeHashed() {
        return $this->checkSameHashForKeys(
            array_slice($args = $this->getArguments(), 0, count($args) - 1)
        );
    }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
appstats-0.25.1 doc/benchmarks/Predis/Commands/ListPopLastPushHeadBlocking.php
appstats-0.25.0 doc/benchmarks/Predis/Commands/ListPopLastPushHeadBlocking.php
appstats-0.24.0 doc/benchmarks/Predis/Commands/ListPopLastPushHeadBlocking.php
appstats-0.23.5 doc/benchmarks/Predis/Commands/ListPopLastPushHeadBlocking.php
appstats-0.23.4 doc/benchmarks/Predis/Commands/ListPopLastPushHeadBlocking.php
appstats-0.23.3 doc/benchmarks/Predis/Commands/ListPopLastPushHeadBlocking.php
appstats-0.23.2 doc/benchmarks/Predis/Commands/ListPopLastPushHeadBlocking.php