Predis\Cluster\ClusterStrategy::getKeyFromBitOp PHP Méthode

getKeyFromBitOp() protected méthode

Extracts the key from BITOP command.
protected getKeyFromBitOp ( Predis\Command\CommandInterface $command ) : string | null
$command Predis\Command\CommandInterface Command instance.
Résultat string | null
    protected function getKeyFromBitOp(CommandInterface $command)
    {
        $arguments = $command->getArguments();
        if ($this->checkSameSlotForKeys(array_slice($arguments, 1, count($arguments)))) {
            return $arguments[1];
        }
    }