Predis\Cluster\ClusterStrategy::getKeyFromBitOp PHP 메소드

getKeyFromBitOp() 보호된 메소드

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