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

getKeyFromFirstArgument() 보호된 메소드

Extracts the key from the first argument of a command instance.
protected getKeyFromFirstArgument ( Predis\Command\CommandInterface $command ) : string
$command Predis\Command\CommandInterface Command instance.
리턴 string
    protected function getKeyFromFirstArgument(CommandInterface $command)
    {
        return $command->getArgument(0);
    }