Redis
class Redis extends Facade
Properties
| static protected Container|null | $app | The application instance being facaded. |
from Facade |
| static protected array | $resolvedInstance | The resolved object instances. |
from Facade |
| static protected bool | $cached | Indicates if the resolved instance should be cached. |
from Facade |
Methods
Initiate a mock expectation on the facade.
Initiate a mock expectation on the facade.
Create a fresh mock instance for the given class.
Get the registered name of the component.
Resolve the facade root instance from the container.
Clear a resolved facade instance.
Get the application instance behind the facade.
Handle dynamic, static calls to the object.
Get methods that should be excluded from the generated facade docblock.
No description
No description
<int|string, string> pack(array<int|string, mixed> $values)
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
($callback is null ? \Redis|\RedisCluster : array<int, mixed>|false) transaction(callable|null $callback = 'null')
No description
No description
No description
No description
No description
No description
No description
No description
No description
Serialize a value using configured serializer
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Blocking left pop from list
Blocking right pop from list
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Evaluate Lua script
No description
Evaluate Lua script by SHA1
No description
No description
No description
Execute raw Redis command
No description
No description
No description
No description
No description
No description
No description
No description
Flush database
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Get the value of a key
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Delete hash fields
No description
No description
No description
No description
Get hash field value
No description
No description
No description
No description
No description
No description
Get all hash field names
Get number of hash fields
Get hash field values
Set hash field values
No description
No description
No description
No description
No description
No description
Set hash field values
No description
Set hash field if not exists
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Get list length
No description
No description
No description
No description
No description
No description
No description
Remove list elements
No description
No description
No description
No description
Get the values of multiple keys
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Set the value of a key
No description
No description
Set key if not exists
No description
No description
No description
No description
No description
No description
Get all set members
No description
No description
No description
No description
Remove and return random set member
No description
Remove members from set
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Add members to sorted set
Get sorted set cardinality
Count sorted set members by score range
No description
No description
No description
No description
No description
Intersect sorted sets
No description
No description
No description
No description
No description
No description
No description
No description
Get sorted set members by score range
No description
No description
Remove sorted set members
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Union sorted sets
Details
in
Facade at line 61
static void
resolved(Closure $callback)
Run a Closure when the facade has been resolved.
Boot-only. The callback is registered on the worker-global container and runs for every subsequent resolution of the facade accessor.
in
Facade at line 81
static MockInterface|null
spy()
Convert the facade into a Mockery spy.
Tests only. Swaps the resolved facade instance for the worker lifetime.
in
Facade at line 99
static MockInterface
partialMock()
Initiate a partial mock on the facade.
Tests only. Swaps the resolved facade instance for the worker lifetime.
in
Facade at line 115
static CompositeExpectation|Expectation|HigherOrderMessage
shouldReceive()
Initiate a mock expectation on the facade.
Tests only. Swaps the resolved facade instance for the worker lifetime.
in
Facade at line 131
static CompositeExpectation|Expectation|ExpectsHigherOrderMessage
expects()
Initiate a mock expectation on the facade.
Tests only. Swaps the resolved facade instance for the worker lifetime.
in
Facade at line 145
static protected MockInterface
createFreshMockInstance()
Create a fresh mock instance for the given class.
in
Facade at line 157
static protected MockInterface
createMock()
Create a fresh mock instance for the given class.
in
Facade at line 167
static protected bool
isMock()
Determines whether a mock is set as the instance of the facade.
in
Facade at line 178
static protected string|null
getMockableClass()
Get the mockable class for the bound instance.
in
Facade at line 194
static void
swap(mixed $instance)
Hotswap the underlying instance behind the facade.
Tests only. Replaces the worker-wide resolved facade instance and container binding; runtime use races across coroutines and changes every subsequent facade call.
in
Facade at line 206
static bool
isFake()
Determines whether a "fake" has been set as the facade instance.
in
Facade at line 217
static mixed
getFacadeRoot()
Get the root object behind the facade.
at line 357
static protected string
getFacadeAccessor()
Get the registered name of the component.
in
Facade at line 233
static protected mixed
resolveFacadeInstance(string $name)
Resolve the facade root instance from the container.
in
Facade at line 256
static void
clearResolvedInstance(string|null $name = null)
Clear a resolved facade instance.
Boot or tests only. Clears a worker-wide facade cache entry; concurrent coroutines may still hold the previous resolved instance.
in
Facade at line 267
static void
clearResolvedInstances()
Clear all of the resolved instances.
Boot or tests only. Clears the worker-wide facade cache; concurrent coroutines may still hold previously resolved instances.
in
Facade at line 275
static Collection
defaultAliases()
Get the application default aliases.
in
Facade at line 335
static Container|null
getFacadeApplication()
Get the application instance behind the facade.
in
Facade at line 346
static void
setFacadeApplication(Container|null $app)
Set the application instance.
Boot or tests only. Replaces the worker-wide facade application reference; runtime use races across coroutines and breaks every facade lookup.
in
Facade at line 356
static mixed
__callStatic(string $method, array $args)
Handle dynamic, static calls to the object.
at line 320
static protected array
ignoredFacadeDocumenterMethods()
Get methods that should be excluded from the generated facade docblock.
Excludes connection-bound methods, unavailable pooled commands, and internal trait aliases.
at line 310
static mixed
command(string $method, array $parameters = '[]')
No description
at line 310
static RedisProxy
connection(UnitEnum|string|null $name = 'null')
No description
at line 310
static void
array()
<int|string, string> pack(array<int|string, mixed> $values)
at line 310
static void
disableEvents()
No description
at line 310
static void
enableEvents()
No description
at line 310
static ConcurrencyLimiterBuilder
funnel(string $name)
No description
at line 310
static void
listen(Closure $callback)
No description
at line 310
static void
listenForFailures(Closure $callback)
No description
at line 310
static void
psubscribe(array|string $channels, Closure $callback)
No description
at line 310
static void
purge(UnitEnum|string|null $name = 'null')
No description
at line 310
static void
subscribe(array|string $channels, Closure $callback)
No description
at line 310
static DurationLimiterBuilder
throttle(string $name)
No description
at line 310
static Redis
discard()
No description
at line 310
static int
flushByPattern(string $pattern)
No description
at line 310
static void
flushMacros()
No description
at line 310
static string
getName()
No description
at line 310
static bool
hasMacro(string $name)
No description
at line 310
static mixed
hScan(mixed $key, mixed $cursor, mixed ...$arguments)
No description
at line 310
static bool
isCluster()
No description
at line 310
static void
macro(string $name, callable|object $macro)
No description
at line 310
static void
mixin(object $mixin, bool $replace = 'true')
No description
at line 310
void
static()
($callback is null ? \Redis|\RedisCluster : array<int, mixed>|false) transaction(callable|null $callback = 'null')
at line 310
static mixed
scan(mixed $cursor, mixed ...$arguments)
No description
at line 310
static mixed
sScan(mixed $key, mixed $cursor, mixed ...$arguments)
No description
at line 310
static Subscriber
subscriber()
No description
at line 310
static mixed
withConnection(callable $callback, bool $transform = 'true')
No description
at line 310
static mixed
withoutSerializationOrCompression(callable $callback)
No description
at line 310
static mixed
withPinnedConnection(callable $callback)
No description
at line 310
static mixed
zScan(mixed $key, mixed $cursor, mixed ...$arguments)
No description
at line 310
static string
_digest(mixed $value)
No description
at line 310
static string
_pack(mixed $value)
No description
at line 310
static string
_serialize(mixed $value)
Serialize a value using configured serializer
at line 310
static mixed
_unpack(string $value)
No description
at line 310
static mixed
acl(string $subcmd, string ...$args)
No description
at line 310
static RedisCluster
append(string $key, mixed $value)
No description
at line 310
static RedisCluster
bgrewriteaof()
No description
at line 310
static RedisCluster
bgSave()
No description
at line 310
static RedisCluster
bitcount(string $key, int $start = '0', int $end = '-1', bool $bybit = 'false')
No description
at line 310
static RedisCluster
bitop(string $operation, string $deskey, string $srckey, string ...$other_keys)
No description
at line 310
static RedisCluster
bitpos(string $key, bool $bit, int $start = '0', int $end = '-1', bool $bybit = 'false')
No description
at line 310
static RedisCluster|string
blmove(string $src, string $dst, string $wherefrom, string $whereto, float $timeout)
No description
at line 310
static RedisCluster
blmpop(float $timeout, array $keys, string $from, int $count = '1')
No description
at line 310
static RedisCluster
blpop(array|string $key_or_keys, float|int|string $timeout_or_key, mixed ...$extra_args)
Blocking left pop from list
at line 310
static RedisCluster
brpop(array|string $key_or_keys, float|int|string $timeout_or_key, mixed ...$extra_args)
Blocking right pop from list
at line 310
static RedisCluster|string
brpoplpush(string $src, string $dst, float|int $timeout)
No description
at line 310
static RedisCluster
bzmpop(float $timeout, array $keys, string $from, int $count = '1')
No description
at line 310
static RedisCluster
bzPopMax(array|string $key, int|string $timeout_or_key, mixed ...$extra_args)
No description
at line 310
static RedisCluster
bzPopMin(array|string $key, int|string $timeout_or_key, mixed ...$extra_args)
No description
at line 310
static bool
clearLastError()
No description
at line 310
static void
clearTransferredBytes()
No description
at line 310
static bool
compressed()
No description
at line 310
static mixed
config(string $operation, array|string|null $key_or_settings = 'null', string|null $value = 'null')
No description
at line 310
static RedisCluster
copy(string $src, string $dst, array|null $options = 'null')
No description
at line 310
static RedisCluster
dbSize()
No description
at line 310
static Redis|string
debug(string $key)
No description
at line 310
static RedisCluster
decr(string $key, int $by = '1')
No description
at line 310
static RedisCluster
decrBy(string $key, int $value)
No description
at line 310
static RedisCluster
del(array|string $key, string ...$other_keys)
No description
at line 310
static RedisCluster
delex(string $key, array|null $options = 'null')
No description
at line 310
static RedisCluster
delifeq(string $key, mixed $value)
No description
at line 310
static RedisCluster|string
digest(string $key)
No description
at line 310
static RedisCluster|string
dump(string $key)
No description
at line 310
static RedisCluster|string
echo(string $str)
No description
at line 310
static mixed
eval(string $script, int $numberOfKeys, mixed ...$arguments)
Evaluate Lua script
at line 310
static mixed
eval_ro(string $script_sha, array $args = '[]', int $num_keys = '0')
No description
at line 310
static mixed
evalsha(string $script, int $numkeys, mixed ...$arguments)
Evaluate Lua script by SHA1
at line 310
static mixed
evalsha_ro(string $sha1, array $args = '[]', int $num_keys = '0')
No description
at line 310
static mixed
evalWithShaCache(string $script, string[] $keys = '[]', mixed[] $args = '[]')
No description
at line 310
static Redis
exec()
No description
at line 310
static mixed
executeRaw(array $parameters)
Execute raw Redis command
at line 310
static RedisCluster
exists(mixed $key, mixed ...$other_keys)
No description
at line 310
static RedisCluster
expire(string $key, int $timeout, string|null $mode = 'null')
No description
at line 310
static RedisCluster
expireAt(string $key, int $timestamp, string|null $mode = 'null')
No description
at line 310
static RedisCluster
expiretime(string $key)
No description
at line 310
static Redis
failover(array|null $to = 'null', bool $abort = 'false', int $timeout = '0')
No description
at line 310
static mixed
fcall(string $fn, array $keys = '[]', array $args = '[]')
No description
at line 310
static mixed
fcall_ro(string $fn, array $keys = '[]', array $args = '[]')
No description
at line 310
static RedisCluster
flushAll(bool|null $sync = 'null')
No description
at line 310
static mixed
flushdb(mixed ...$arguments)
Flush database
at line 310
static Redis|string
function(string $operation, mixed ...$args)
No description
at line 310
static RedisCluster
geoadd(string $key, float $lng, float $lat, string $member, mixed ...$other_triples_and_options)
No description
at line 310
static RedisCluster
geodist(string $key, string $src, string $dst, string|null $unit = 'null')
No description
at line 310
static RedisCluster
geohash(string $key, string $member, string ...$other_members)
No description
at line 310
static RedisCluster
geopos(string $key, string $member, string ...$other_members)
No description
at line 310
static mixed
georadius(string $key, float $lng, float $lat, float $radius, string $unit, array $options = '[]')
No description
at line 310
static mixed
georadius_ro(string $key, float $lng, float $lat, float $radius, string $unit, array $options = '[]')
No description
at line 310
static mixed
georadiusbymember(string $key, string $member, float $radius, string $unit, array $options = '[]')
No description
at line 310
static mixed
georadiusbymember_ro(string $key, string $member, float $radius, string $unit, array $options = '[]')
No description
at line 310
static array
geosearch(string $key, array|string $position, array|int|float $shape, string $unit, array $options = '[]')
No description
at line 310
static RedisCluster
geosearchstore(string $dst, string $src, array|string $position, array|int|float $shape, string $unit, array $options = '[]')
No description
at line 310
static mixed
get(string $key)
Get the value of a key
at line 310
static mixed
getAuth()
No description
at line 310
static RedisCluster
getBit(string $key, int $idx)
No description
at line 310
static int
getDBNum()
No description
at line 310
static RedisCluster|string
getDel(string $key)
No description
at line 310
static Dispatcher|null
getEventDispatcher()
No description
at line 310
static RedisCluster|string
getEx(string $key, array $options = '[]')
No description
at line 310
static string
getHost()
No description
at line 310
static null|string
getLastError()
No description
at line 310
static int
getMode()
No description
at line 310
static mixed
getOption(int $option)
No description
at line 310
static null|string
getPersistentID()
No description
at line 310
static int
getPort()
No description
at line 310
static RedisCluster|string
getRange(string $key, int $start, int $end)
No description
at line 310
static float
getReadTimeout()
No description
at line 310
static RedisCluster|string
getset(string $key, mixed $value)
No description
at line 310
static false|float
getTimeout()
No description
at line 310
static array
getTransferredBytes()
No description
at line 310
static RedisCluster
getWithMeta(string $key)
No description
at line 310
static bool
hasHashTag(string $key)
No description
at line 310
static RedisCluster
hdel(string $key, string $field, string ...$other_fields)
Delete hash fields
at line 310
static RedisCluster
hExists(string $key, string $field)
No description
at line 310
static RedisCluster
hexpire(string $key, int $ttl, array $fields, string|null $mode = 'null')
No description
at line 310
static RedisCluster
hexpireat(string $key, int $time, array $fields, string|null $mode = 'null')
No description
at line 310
static RedisCluster
hexpiretime(string $key, array $fields)
No description
at line 310
static mixed
hget(string $key, string $member)
Get hash field value
at line 310
static RedisCluster
hGetAll(string $key)
No description
at line 310
static RedisCluster
hgetdel(string $key, array $fields)
No description
at line 310
static RedisCluster
hgetex(string $key, array $fields, string|array|null $expiry = 'null')
No description
at line 310
static mixed
hGetWithMeta(string $key, string $member)
No description
at line 310
static RedisCluster
hIncrBy(string $key, string $field, int $value)
No description
at line 310
static RedisCluster
hIncrByFloat(string $key, string $field, float $value)
No description
at line 310
static RedisCluster
hkeys(string $key)
Get all hash field names
at line 310
static RedisCluster
hlen(string $key)
Get number of hash fields
at line 310
static RedisCluster
hmget(string $key, array $fields)
Get hash field values
at line 310
static RedisCluster
hmset(string $key, array $fieldValues)
Set hash field values
at line 310
static RedisCluster
hpersist(string $key, array $fields)
No description
at line 310
static RedisCluster
hpexpire(string $key, int $ttl, array $fields, string|null $mode = 'null')
No description
at line 310
static RedisCluster
hpexpireat(string $key, int $mstime, array $fields, string|null $mode = 'null')
No description
at line 310
static RedisCluster
hpexpiretime(string $key, array $fields)
No description
at line 310
static RedisCluster
hpttl(string $key, array $fields)
No description
at line 310
static RedisCluster|string
hRandField(string $key, array|null $options = 'null')
No description
at line 310
static RedisCluster
hset(string $key, mixed ...$fields_and_vals)
Set hash field values
at line 310
static RedisCluster
hsetex(string $key, array $fields, array|null $expiry = 'null')
No description
at line 310
static RedisCluster
hsetnx(string $hash, string $key, mixed $value)
Set hash field if not exists
at line 310
static RedisCluster
hStrLen(string $key, string $field)
No description
at line 310
static RedisCluster
httl(string $key, array $fields)
No description
at line 310
static RedisCluster
hVals(string $key)
No description
at line 310
static RedisCluster
incr(string $key, int $by = '1')
No description
at line 310
static RedisCluster
incrBy(string $key, int $value)
No description
at line 310
static RedisCluster
incrByFloat(string $key, float $value)
No description
at line 310
static RedisCluster
info(string ...$sections)
No description
at line 310
static bool
isConnected()
No description
at line 310
static RedisCluster
keys(string $pattern)
No description
at line 310
static int
lastSave()
No description
at line 310
static RedisCluster|string
lcs(string $key1, string $key2, array|null $options = 'null')
No description
at line 310
static mixed
lindex(string $key, int $index)
No description
at line 310
static RedisCluster
lInsert(string $key, string $pos, mixed $pivot, mixed $value)
No description
at line 310
static RedisCluster
llen(string $key)
Get list length
at line 310
static RedisCluster|string
lMove(string $src, string $dst, string $wherefrom, string $whereto)
No description
at line 310
static RedisCluster
lmpop(array $keys, string $from, int $count = '1')
No description
at line 310
static RedisCluster|string
lPop(string $key, int $count = '0')
No description
at line 310
static RedisCluster
lPos(string $key, mixed $value, array|null $options = 'null')
No description
at line 310
static RedisCluster
lPush(string $key, mixed ...$elements)
No description
at line 310
static RedisCluster
lPushx(string $key, mixed $value)
No description
at line 310
static RedisCluster
lrange(string $key, int $start, int $end)
No description
at line 310
static false|int
lrem(string $key, int $count, mixed $value)
Remove list elements
at line 310
static RedisCluster
lSet(string $key, int $index, mixed $value)
No description
at line 310
static RedisCluster
ltrim(string $key, int $start, int $end)
No description
at line 310
static bool
lz4Compressed()
No description
at line 310
static bool
lzfCompressed()
No description
at line 310
static RedisCluster
mget(array $keys)
Get the values of multiple keys
at line 310
static Redis
migrate(string $host, int $port, array|string $key, int $dstdb, int $timeout, bool $copy = 'false', bool $replace = 'false', mixed $credentials = 'null')
No description
at line 310
static Redis
move(string $key, int $index)
No description
at line 310
static RedisCluster
mset(array $key_values)
No description
at line 310
static RedisCluster
msetex(array $key_values, int|float|array|null $expiry = 'null')
No description
at line 310
static RedisCluster
msetnx(array $key_values)
No description
at line 310
static RedisCluster
multi(int $value = '1')
No description
at line 310
static RedisCluster|string
object(string $subcommand, string $key)
No description
at line 310
static RedisCluster
persist(string $key)
No description
at line 310
static bool
pexpire(string $key, int $timeout, string|null $mode = 'null')
No description
at line 310
static RedisCluster
pexpireAt(string $key, int $timestamp, string|null $mode = 'null')
No description
at line 310
static RedisCluster
pexpiretime(string $key)
No description
at line 310
static RedisCluster
pfadd(string $key, array $elements)
No description
at line 310
static RedisCluster
pfcount(array|string $key_or_keys)
No description
at line 310
static RedisCluster
pfmerge(string $dst, array $srckeys)
No description
at line 310
static RedisCluster|string
ping(string|null $message = 'null')
No description
at line 310
static RedisCluster
psetex(string $key, int $expire, mixed $value)
No description
at line 310
static RedisCluster
pttl(string $key)
No description
at line 310
static RedisCluster
publish(string $channel, string $message)
No description
at line 310
static mixed
pubsub(string $command, mixed $arg = 'null')
No description
at line 310
static Redis
punsubscribe(array $patterns)
No description
at line 310
static RedisCluster|string
randomKey()
No description
at line 310
static mixed
rawcommand(string $command, mixed ...$args)
No description
at line 310
static RedisCluster
rename(string $old_name, string $new_name)
No description
at line 310
static RedisCluster
renameNx(string $key_src, string $key_dst)
No description
at line 310
static Redis
replicaof(string|null $host = 'null', int $port = '6379')
No description
at line 310
static RedisCluster
restore(string $key, int $ttl, string $value, array|null $options = 'null')
No description
at line 310
static mixed
role()
No description
at line 310
static RedisCluster|string
rPop(string $key, int $count = '0')
No description
at line 310
static RedisCluster|string
rpoplpush(string $srckey, string $dstkey)
No description
at line 310
static RedisCluster
rPush(string $key, mixed ...$elements)
No description
at line 310
static RedisCluster
rPushx(string $key, mixed $value)
No description
at line 310
static RedisCluster
sAdd(string $key, mixed $value, mixed ...$other_values)
No description
at line 310
static int
sAddArray(string $key, array $values)
No description
at line 310
static RedisCluster
save()
No description
at line 310
static RedisCluster
scard(string $key)
No description
at line 310
static mixed
script(string $command, mixed ...$args)
No description
at line 310
static RedisCluster
sDiff(string $key, string ...$other_keys)
No description
at line 310
static RedisCluster
sDiffStore(string $dst, string $key, string ...$other_keys)
No description
at line 310
static Redis
select(int $db)
No description
at line 310
static bool
serialized()
No description
at line 310
static false|string
serverName()
No description
at line 310
static false|string
serverVersion()
No description
at line 310
static mixed
set(string $key, mixed $value, mixed $expireResolution = 'null', int|null $expireTTL = 'null', string|null $flag = 'null')
Set the value of a key
at line 310
static RedisCluster
setBit(string $key, int $idx, bool $value)
No description
at line 310
static RedisCluster
setex(string $key, int $expire, mixed $value)
No description
at line 310
static RedisCluster
setnx(string $key, mixed $value)
Set key if not exists
at line 310
static RedisCluster
setRange(string $key, int $index, string $value)
No description
at line 310
static RedisCluster
sInter(array|string $key, string ...$other_keys)
No description
at line 310
static RedisCluster
sintercard(array $keys, int $limit = '-1')
No description
at line 310
static RedisCluster
sInterStore(array|string $key, string ...$other_keys)
No description
at line 310
static RedisCluster
sismember(string $key, mixed $value)
No description
at line 310
static mixed
slowlog(string $operation, int $length = '0')
No description
at line 310
static RedisCluster
smembers(string $key)
Get all set members
at line 310
static RedisCluster
sMisMember(string $key, string $member, string ...$other_members)
No description
at line 310
static RedisCluster
sMove(string $src, string $dst, mixed $value)
No description
at line 310
static mixed
sort(string $key, array|null $options = 'null')
No description
at line 310
static mixed
sort_ro(string $key, array|null $options = 'null')
No description
at line 310
static mixed
spop(string $key, int $count = '0')
Remove and return random set member
at line 310
static mixed
sRandMember(string $key, int $count = '0')
No description
at line 310
static RedisCluster
sRem(string $key, mixed $value, mixed ...$other_values)
Remove members from set
at line 310
static RedisCluster
strlen(string $key)
No description
at line 310
static RedisCluster
sUnion(string $key, string ...$other_keys)
No description
at line 310
static RedisCluster
sUnionStore(string $dst, string $key, string ...$other_keys)
No description
at line 310
static Redis
sunsubscribe(array $channels)
No description
at line 310
static Redis
swapdb(int $src, int $dst)
No description
at line 310
static RedisCluster
time()
No description
at line 310
static RedisCluster
touch(array|string $key_or_array, string ...$more_keys)
No description
at line 310
static RedisCluster
ttl(string $key)
No description
at line 310
static RedisCluster
type(string $key)
No description
at line 310
static RedisCluster
unlink(array|string $key, string ...$other_keys)
No description
at line 310
static Redis
unsubscribe(array $channels)
No description
at line 310
static Redis
unwatch()
No description
at line 310
static RedisCluster
vadd(string $key, array $values, mixed $element, array|null $options = 'null')
No description
at line 310
static RedisCluster
vcard(string $key)
No description
at line 310
static RedisCluster
vdim(string $key)
No description
at line 310
static RedisCluster
vemb(string $key, mixed $member, bool $raw = 'false')
No description
at line 310
static RedisCluster|string
vgetattr(string $key, mixed $member, bool $decode = 'true')
No description
at line 310
static RedisCluster
vinfo(string $key)
No description
at line 310
static RedisCluster
vismember(string $key, mixed $member)
No description
at line 310
static RedisCluster
vlinks(string $key, mixed $member, bool $withscores = 'false')
No description
at line 310
static RedisCluster|string
vrandmember(string $key, int $count = '0')
No description
at line 310
static RedisCluster
vrange(string $key, string $min, string $max, int $count = '-1')
No description
at line 310
static RedisCluster
vrem(string $key, mixed $member)
No description
at line 310
static RedisCluster
vsetattr(string $key, mixed $member, array|string $attributes)
No description
at line 310
static RedisCluster
vsim(string $key, mixed $member, array|null $options = 'null')
No description
at line 310
static false|int
wait(int $numreplicas, int $timeout)
No description
at line 310
static RedisCluster
waitaof(int $numlocal, int $numreplicas, int $timeout)
No description
at line 310
static RedisCluster
watch(array|string $key, string ...$other_keys)
No description
at line 310
static false|int
xack(string $key, string $group, array $ids)
No description
at line 310
static RedisCluster|string
xadd(string $key, int|string $id, array $values, int $maxlen = '0', bool $approx = 'false', bool $nomkstream = 'false')
No description
at line 310
static RedisCluster
xautoclaim(string $key, string $group, string $consumer, int $min_idle, int|string $start, int $count = '-1', bool $justid = 'false')
No description
at line 310
static RedisCluster
xclaim(string $key, string $group, string $consumer, int $min_idle, array $ids, array $options)
No description
at line 310
static RedisCluster
xdel(string $key, array $ids)
No description
at line 310
static RedisCluster
xdelex(string $key, array $ids, string|null $mode = 'null')
No description
at line 310
static mixed
xgroup(string $operation, string|null $key = 'null', string|null $group = 'null', int|string|null $id_or_consumer = 'null', bool $mkstream = 'false', int $entries_read = '-2')
No description
at line 310
static mixed
xinfo(string $operation, string|null $arg1 = 'null', string|null $arg2 = 'null', int $count = '-1')
No description
at line 310
static RedisCluster
xlen(string $key)
No description
at line 310
static RedisCluster
xpending(string $key, string $group, int|string|null $start = 'null', int|string|null $end = 'null', int $count = '-1', string|null $consumer = 'null')
No description
at line 310
static RedisCluster
xrange(string $key, int|string $start, int|string $end, int $count = '-1')
No description
at line 310
static RedisCluster
xread(array $streams, int $count = '-1', int $block = '-1')
No description
at line 310
static RedisCluster
xreadgroup(string $group, string $consumer, array $streams, int $count = '1', int $block = '1')
No description
at line 310
static RedisCluster
xrevrange(string $key, int|string $end, int|string $start, int $count = '-1')
No description
at line 310
static RedisCluster
xtrim(string $key, int|string $threshold, bool $approx = 'false', bool $minid = 'false', int $limit = '-1')
No description
at line 310
static RedisCluster
zadd(string $key, array|float $score_or_options, mixed ...$more_scores_and_mems)
Add members to sorted set
at line 310
static RedisCluster
zcard(string $key)
Get sorted set cardinality
at line 310
static RedisCluster
zcount(string $key, float|int|string $start, float|int|string $end)
Count sorted set members by score range
at line 310
static RedisCluster
zdiff(array $keys, array|null $options = 'null')
No description
at line 310
static RedisCluster
zdiffstore(string $dst, array $keys)
No description
at line 310
static RedisCluster
zIncrBy(string $key, float $value, mixed $member)
No description
at line 310
static RedisCluster
zinter(array $keys, array|null $weights = 'null', array|null $options = 'null')
No description
at line 310
static RedisCluster
zintercard(array $keys, int $limit = '-1')
No description
at line 310
static RedisCluster
zinterstore(string $output, array $keys, array $options = '[]')
Intersect sorted sets
at line 310
static RedisCluster
zLexCount(string $key, string $min, string $max)
No description
at line 310
static RedisCluster
zmpop(array $keys, string $from, int $count = '1')
No description
at line 310
static RedisCluster
zMscore(string $key, mixed $member, mixed ...$other_members)
No description
at line 310
static RedisCluster
zPopMax(string $key, int|null $count = 'null')
No description
at line 310
static RedisCluster
zPopMin(string $key, int|null $count = 'null')
No description
at line 310
static RedisCluster|string
zRandMember(string $key, array|null $options = 'null')
No description
at line 310
static RedisCluster
zRange(string $key, string|int $start, string|int $end, array|bool|null $options = 'null')
No description
at line 310
static RedisCluster
zRangeByLex(string $key, string $min, string $max, int $offset = '-1', int $count = '-1')
No description
at line 310
static RedisCluster
zrangebyscore(string $key, float|int|string $min, float|int|string $max, array $options = '[]')
Get sorted set members by score range
at line 310
static RedisCluster
zrangestore(string $dstkey, string $srckey, string $start, string $end, array|bool|null $options = 'null')
No description
at line 310
static RedisCluster
zRank(string $key, mixed $member)
No description
at line 310
static RedisCluster
zrem(mixed $key, mixed $member, mixed ...$other_members)
Remove sorted set members
at line 310
static RedisCluster
zRemRangeByLex(string $key, string $min, string $max)
No description
at line 310
static RedisCluster
zRemRangeByRank(string $key, int $start, int $end)
No description
at line 310
static RedisCluster
zRemRangeByScore(string $key, float|int|string $start, float|int|string $end)
No description
at line 310
static RedisCluster
zRevRange(string $key, int $start, int $end, mixed $scores = 'null')
No description
at line 310
static RedisCluster
zRevRangeByLex(string $key, string $max, string $min, int $offset = '-1', int $count = '-1')
No description
at line 310
static RedisCluster
zrevrangebyscore(string $key, float|int|string $max, float|int|string $min, array $options = '[]') Get sorted set members by score range (reverse)
No description
at line 310
static RedisCluster
zRevRank(string $key, mixed $member)
No description
at line 310
static RedisCluster
zScore(string $key, mixed $member)
No description
at line 310
static bool
zstdCompressed()
No description
at line 310
static RedisCluster
zunion(array $keys, array|null $weights = 'null', array|null $options = 'null')
No description
at line 310
static RedisCluster
zunionstore(string $output, array $keys, array $options = '[]')
Union sorted sets