src/Redis.php
public function setMultiple($values, $ttl = null): bool
    {
        $result = $this->call('mset', [$values]);

        return $result;
    }
public function setMultiple($values, $ttl = null): bool
    {
        $result = $this->call('mset', [$values]);

        return $result;
    }
Sets multiple key-value pairs in one atomic command.

@param iterable $values
@param int      $ttl

@return bool TRUE in case of success, FALSE in case of failure.