protected getKeyFromAllArguments ( Predis\Command\CommandInterface $command ) : string | null | ||
$command | Predis\Command\CommandInterface | Command instance. |
Résultat | string | null |
protected function getKeyFromAllArguments(CommandInterface $command)
{
$arguments = $command->getArguments();
if ($this->checkSameSlotForKeys($arguments)) {
return $arguments[0];
}
}