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);
    }