code
stringlengths
31
1.39M
docstring
stringlengths
23
16.8k
func_name
stringlengths
1
126
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
7
166
url
stringlengths
50
220
license
stringclasses
7 values
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xdel(mixed $key, array $ids) : Cluster|int|false { }
Remove one or more specific IDs from a stream. @param string $key @param array $ids @return Cluster|int|false
xdel
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xgroup(string $operation, mixed $key = null, string $group = null, string $id_or_consumer = null, bool $mkstream = \false, int $entries_read = -2) : mixed { }
Perform utility operations having to do with consumer groups @param string $operation @param mixed $key @param string $group @param string $id_or_consumer @param bool $mkstream @param int $entries_read @return mixed
xgroup
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xinfo(string $operation, string|null $arg1 = null, string|null $arg2 = null, int $count = -1) : mixed { }
Retrieve information about a stream key. @param string $operation @param string|null $arg1 @param string|null $arg2 @param int $count @return mixed
xinfo
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xlen(mixed $key) : Cluster|int|false { }
Get the length of a stream. @param mixed $key @return Cluster|int|false
xlen
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xpending(mixed $key, string $group, string|null $start = null, string|null $end = null, int $count = -1, string|null $consumer = null, int $idle = 0) : Cluster|array|false { }
Query pending entries in a stream. @param string $key @param string $group @param string|null $start @param string|null $end @param int $count @param string|null $consumer @param int $idle @return Cluster|array|false
xpending
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xrange(mixed $key, string $start, string $end, int $count = -1) : Cluster|array|false { }
Lists elements in a stream. @param mixed $key @param string $start @param string $end @param int $count = -1 @return Cluster|array|false
xrange
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xread(array $streams, int $count = -1, int $block = -1) : Cluster|array|bool|null { }
Read messages from a stream. @param array $streams @param int $count @param int $block @return Cluster|array|bool|null
xread
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xreadgroup(mixed $key, string $consumer, array $streams, int $count = 1, int $block = 1) : Cluster|array|bool|null { }
Read messages from a stream using a consumer group. @param mixed $key @param string $consumer @param array $streams @param int $count @param int $block @return Cluster|array|bool|null
xreadgroup
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function xrevrange(mixed $key, string $end, string $start, int $count = -1) : Cluster|array|bool { }
Get a range of entries from a STREAM ke in reverse chronological order. @param mixed $key @param string $end @param string $start @param int $count @return Cluster|array|bool
xrevrange
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zadd(mixed $key, mixed ...$args) : mixed { }
Adds all the specified members with the specified scores to the sorted set stored at key. @param mixed $key @param mixed $args,... @return mixed
zadd
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zcard(mixed $key) : Cluster|int|false { }
Returns the sorted set cardinality (number of elements) of the sorted set stored at key. @param mixed $key @return Cluster|int|false
zcard
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zcount(mixed $key, mixed $min, mixed $max) : Cluster|int|false { }
Returns the number of elements in the sorted set at key with a score between min and max. @param mixed $key @param mixed $min @param mixed $max @return Cluster|int|false
zcount
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zdiff(array $keys, array|null $options = null) : Cluster|array|false { }
This command is similar to ZDIFFSTORE, but instead of storing the resulting sorted set, it is returned to the client. @param array $keys @param array|null $options @return Cluster|array|false
zdiff
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zdiffstore(mixed $dstkey, array $keys) : Cluster|int|false { }
Computes the difference between the first and all successive input sorted sets and stores the result in destination. @param mixed $dstkey @param array $keys @return Cluster|int|false
zdiffstore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zincrby(mixed $key, float $score, mixed $member) : Cluster|float|false { }
Increments the score of member in the sorted set stored at key by increment. @param mixed $key @param float $score @param mixed $member @return Cluster|float|false
zincrby
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zinter(array $keys, array|null $weights = null, mixed $options = null) : Cluster|array|false { }
This command is similar to ZINTERSTORE, but instead of storing the resulting sorted set, it is returned to the client. @param array $keys @param array|null $weights @param mixed $options @return Cluster|array|false
zinter
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zinterstore(mixed $dstkey, array $keys, array|null $weights = null, mixed $options = null) : Cluster|int|false { }
Computes the intersection of numkeys sorted sets given by the specified keys, and stores the result in destination. @param mixed $dstkey @param array $keys @param array|null $weights @param mixed $options @return Cluster|int|false
zinterstore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zlexcount(mixed $key, mixed $min, mixed $max) : Cluster|int|false { }
When all the elements in a sorted set are inserted with the same score, in order to force lexicographical ordering, this command returns the number of elements in the sorted set at key with a value between min and max. @param mixed $key @param mixed $min @param mixed $max @return Cluster|int|false
zlexcount
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zmpop(array $keys, string $from, int $count = 1) : Cluster|array|null|false { }
Pops one or more elements, that are member-score pairs, from the first non-empty sorted set in the provided list of key names. @param array $keys @param string $from @param int $count @return Cluster|array|null|false
zmpop
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zmscore(mixed $key, mixed ...$members) : Cluster|array|false { }
Returns the scores associated with the specified members in the sorted set stored at key. @param mixed $key @param mixed $members,... @return Cluster|array|false
zmscore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zpopmax(mixed $key, int $count = 1) : Cluster|array|false { }
Removes and returns up to count members with the highest scores in the sorted set stored at key. @param mixed $key @param int $count @return Cluster|array|false
zpopmax
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zpopmin(mixed $key, int $count = 1) : Cluster|array|false { }
Removes and returns up to count members with the lowest scores in the sorted set stored at key. @param mixed $key @param int $count @return Cluster|array|false
zpopmin
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrandmember(mixed $key, array|null $options = null) : mixed { }
When called with just the key argument, return a random element from the sorted set value stored at key. If the provided count argument is positive, return an array of distinct elements. @param mixed $key @param array|null $options @return mixed
zrandmember
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrange(mixed $key, string $start, string $end, mixed $options = null) : Cluster|array|false { }
Returns the specified range of elements in the sorted set stored at key. @param mixed $key @param string $start @param string $end @param mixed $options @return Cluster|array|false
zrange
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrangebylex(mixed $key, mixed $min, mixed $max, int $offset = -1, int $count = -1) : Cluster|array|false { }
When all the elements in a sorted set are inserted with the same score, in order to force lexicographical ordering, this command returns all the elements in the sorted set at key with a value between min and max. @param mixed $key @param mixed $min @param mixed $max @param int $offset @param int $count @return Cluster|array|false
zrangebylex
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrangebyscore(mixed $key, mixed $start, mixed $end, mixed $options = null) : Cluster|array|false { }
Returns all the elements in the sorted set at key with a score between min and max (including elements with score equal to min or max). @param mixed $key @param mixed $start @param mixed $end @param mixed $options @return Cluster|array|false
zrangebyscore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrangestore(mixed $dstkey, mixed $srckey, mixed $start, mixed $end, mixed $options = null) : Cluster|int|false { }
Returns all the elements in the sorted set at key with a score between max and min (including elements with score equal to max or min). @param mixed $dstkey @param mixed $srckey @param mixed $start @param mixed $end @param mixed $options @return Cluster|int|false
zrangestore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrank(mixed $key, mixed $rank, bool $withscore = \false) : Cluster|array|int|false { }
Returns the rank of member in the sorted set stored at key, with the scores ordered from low to high. The rank (or index) is 0-based, which means that the member with the lowest score has rank 0. @param mixed $key @param mixed $rank @param bool $withscore @return Cluster|array|int|false
zrank
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrem(mixed $key, mixed ...$args) : Cluster|int|false { }
Removes the specified members from the sorted set stored at key. Non existing members are ignored. @param mixed $key @param mixed $args,... @return Cluster|int|false
zrem
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zremrangebylex(mixed $key, mixed $min, mixed $max) : Cluster|int|false { }
When all the elements in a sorted set are inserted with the same score, in order to force lexicographical ordering, this command removes all elements in the sorted set stored at key between the lexicographical range specified by min and max. @param mixed $key @param mixed $min @param mixed $max @return Cluster|int|false
zremrangebylex
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zremrangebyrank(mixed $key, int $start, int $end) : Cluster|int|false { }
Removes all elements in the sorted set stored at key with rank between start and stop. Both start and stop are 0 -based indexes with 0 being the element with the lowest score. @param mixed $key @param int $start @param int $end @return Cluster|int|false
zremrangebyrank
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zremrangebyscore(mixed $key, mixed $min, mixed $max) : Cluster|int|false { }
Removes all elements in the sorted set stored at key with a score between min and max (inclusive). @param mixed $key @param mixed $min @param mixed $max @return Cluster|int|false
zremrangebyscore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrevrange(mixed $key, int $start, int $end, mixed $options = null) : Cluster|array|false { }
Returns the specified range of elements in the sorted set stored at key. @param mixed $key @param int $start @param int $end @param mixed $options @return Cluster|array|false
zrevrange
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrevrangebylex(mixed $key, mixed $max, mixed $min, int $offset = -1, int $count = -1) : Cluster|array|false { }
When all the elements in a sorted set are inserted with the same score, in order to force lexicographical ordering, this command returns all the elements in the sorted set at key with a value between max and min. @param mixed $key @param mixed $max @param mixed $min @param int $offset @param int $count @return Cluster|array|false
zrevrangebylex
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrevrangebyscore(mixed $key, mixed $start, mixed $end, mixed $options = null) : Cluster|array|false { }
Returns all the elements in the sorted set at key with a score between max and min (including elements with score equal to max or min). @param mixed $key @param mixed $start @param mixed $end @param mixed $options @return Cluster|array|false
zrevrangebyscore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zrevrank(mixed $key, mixed $rank, bool $withscore = \false) : Cluster|array|int|false { }
Returns the rank of member in the sorted set stored at key, with the scores ordered from high to low. The rank (or index) is 0-based, which means that the member with the highest score has rank 0. @param mixed $key @param mixed $rank @param bool $withscore @return Cluster|array|int|false
zrevrank
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zscan(mixed $key, mixed &$iterator, mixed $match = null, int $count = 0) : array|false { }
Iterates elements of Sorted Set types and their associated scores. @param mixed $key @param mixed $iterator @param mixed $match @param int $count @return array|false
zscan
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zscore(mixed $key, mixed $member) : Cluster|float|false { }
Returns the score of member in the sorted set at key. @param mixed $key @param mixed $member @return Cluster|float|false
zscore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zunion(array $keys, array|null $weights = null, mixed $options = null) : Cluster|array|false { }
This command is similar to ZUNIONSTORE, but instead of storing the resulting sorted set, it is returned to the client. @param array $keys @param array|null $weights @param mixed $options @return Cluster|array|false
zunion
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function zunionstore(mixed $dstkey, array $keys, array|null $weights = null, mixed $options = null) : Cluster|int|false { }
Computes the union of numkeys sorted sets given by the specified keys, and stores the result in destination. @param mixed $dstkey @param array $keys @param array|null $weights @param mixed $options @return Cluster|int|false
zunionstore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Cluster.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Server] public function __construct(string|array|null $host = null, int $port = 6379, float $connect_timeout = 0.0, float $command_timeout = 0.0, #[\SensitiveParameter] array $context = [], int $database = 0) { }
Establishes a new connection to Redis, or re-uses already opened connection. @param string|array|null $host @param int $port @param float $connect_timeout @param float $command_timeout @param array $context
__construct
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Server] public function connect(string $host, int $port = 6379, float $timeout = 0.0, ?string $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0.0, #[\SensitiveParameter] array $context = [], int $database = 0) : bool { }
Establishes a new connection to Redis. Will use `pconnect()` unless `relay.default_pconnect` is disabled. @param string $host @param int $port @param float $timeout @param string|null $persistent_id @param int $retry_interval @param float $read_timeout @param array $context @param int $database @return bool
connect
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Server] public function pconnect(string $host, int $port = 6379, float $timeout = 0.0, ?string $persistent_id = null, int $retry_interval = 0, float $read_timeout = 0.0, #[\SensitiveParameter] array $context = [], int $database = 0) : bool { }
Establishes a persistent connection to Redis. @param string $host @param int $port @param float $timeout @param string|null $persistent_id @param int $retry_interval @param float $read_timeout @param array $context @param int $database @return bool
pconnect
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function close() : bool { }
Closes the current connection, unless it's persistent. @return bool
close
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function pclose() : bool { }
Closes the current connection, if it's persistent. @return bool
pclose
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function listen(?callable $callback) : bool { }
Registers a new event listener. @param callable $callback @return bool
listen
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function onFlushed(?callable $callback) : bool { }
Registers a new `flushed` event listener. @param callable $callback @return bool
onFlushed
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function onInvalidated(?callable $callback, ?string $pattern = null) : bool { }
Registers a new `invalidated` event listener. @param callable $callback @param string|null $pattern @return bool
onInvalidated
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function dispatchEvents() : int|false { }
Dispatches all pending events. @return int|false
dispatchEvents
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function getOption(int $option) : mixed { }
Returns a client option. @param int $option @return mixed
getOption
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function option(int $option, mixed $value = null) : mixed { }
Returns or sets a client option. @param int $option @param mixed $value @return mixed
option
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function setOption(int $option, mixed $value) : bool { }
Sets a client option. Relay specific options: - `OPT_ALLOW_PATTERNS` - `OPT_IGNORE_PATTERNS` - `OPT_THROW_ON_ERROR` - `OPT_CLIENT_INVALIDATIONS` - `OPT_PHPREDIS_COMPATIBILITY` Supported PhpRedis options: - `OPT_PREFIX` - `OPT_READ_TIMEOUT` - `OPT_COMPRESSION` - `OPT_COMPRESSION_LEVEL` - `OPT_MAX_RETRIES` - `OPT_BACKOFF_ALGORITHM` - `OPT_BACKOFF_BASE` - `OPT_BACKOFF_CAP` - `OPT_SCAN` - `OPT_REPLY_LITERAL` - `OPT_NULL_MULTIBULK_AS_NULL` @param int $option @param mixed $value @return bool
setOption
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function addIgnorePatterns(string ...$pattern) : int { }
Adds ignore pattern(s). Matching keys will not be cached in memory. @param string $pattern,... @return int
addIgnorePatterns
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function addAllowPatterns(string ...$pattern) : int { }
Adds allow pattern(s). Only matching keys will be cached in memory. @param string $pattern,... @return int
addAllowPatterns
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function getTimeout() : float|false { }
Returns the connection timeout. @return float|false
getTimeout
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function timeout() : float|false { }
@see Relay\Relay::getTimeout() @return float|false
timeout
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function getReadTimeout() : float|false { }
Returns the read timeout. @return float|false
getReadTimeout
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function readTimeout() : float|false { }
@see Relay\Relay::getReadTimeout() @return float|false
readTimeout
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function getBytes() : array { }
Returns the number of bytes sent and received over the network during the Relay object's lifetime, or since the last time {@link Relay::clearBytes()} was called. @return array
getBytes
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function bytes() : array { }
@see Relay\Relay::getBytes() @return array
bytes
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function getHost() : string|false { }
Returns the host or unix socket. @return string|false
getHost
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function isConnected() : bool { }
Whether Relay is connected to Redis. @return bool
isConnected
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function getPort() : int|false { }
Returns the port. @return int|false
getPort
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function getAuth() : mixed { }
Returns the authentication information. In PhpRedis compatibility mode this method returns any configured password in plain-text. @return mixed
getAuth
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function getDbNum() : mixed { }
Returns the currently selected DB @return int|false
getDbNum
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function _serialize(mixed $value) : mixed { }
Returns the serialized value. @param mixed $value @return mixed
_serialize
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function _unserialize(mixed $value) : mixed { }
Returns the unserialized value. @param mixed $value @return mixed
_unserialize
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function _compress(string $value) : string { }
Compress data with Relay's currently configured compression algorithm. @param string $value @return string
_compress
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function _uncompress(string $value) : string { }
Uncompress data with Relay's currently configured compression algorithm. @param string $value @return string
_uncompress
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function _pack(mixed $value) : string { }
Returns the serialized and compressed value. @param mixed $value @return string
_pack
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function _unpack(mixed $value) : mixed { }
Returns the unserialized and decompressed value. @param mixed $value @return mixed
_unpack
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function _prefix(mixed $value) : string { }
Returns the value with the prefix. @param mixed $value @return string
_prefix
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function getLastError() : string|null { }
Returns the last error message, if any. @return string|null
getLastError
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function clearLastError() : bool { }
Clears the last error that is set, if any. @return bool
clearLastError
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function endpointId() : string|false { }
Returns the connection's endpoint identifier. @return string|false
endpointId
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function socketId() : string|false { }
Returns a unique representation of the underlying socket connection identifier. @return string|false
socketId
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public static function maxMemory() : int { }
Returns the number of bytes allocated, or `0` in client-only mode. @return int
maxMemory
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public static function memory() : int { }
Returns the number of bytes allocated, or `0` in client-only mode. @deprecated 0.5.0 Use `Relay:maxMemory()` @return int
memory
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand, \DEPTRAC_INTERNAL\Relay\Attributes\Cached] public function rawCommand(string $cmd, mixed ...$args) : mixed { }
Execute any command against Redis, without applying the prefix, compression and serialization. @param string $cmd @param mixed $args,... @return mixed
rawCommand
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function select(int $db) : Relay|bool { }
Select the Redis logical database having the specified zero-based numeric index. @param int $db @return Relay|bool
select
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function auth(#[\SensitiveParameter] mixed $auth) : bool { }
Authenticate the connection using a password or an ACL username and password. @param mixed $auth @return bool
auth
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function info(string ...$sections) : Relay|array|false { }
The INFO command returns information and statistics about Redis in a format that is simple to parse by computers and easy to read by humans. @see https://redis.io/commands/info @param string $sections,... @return Relay|array|false
info
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function flushdb(?bool $sync = null) : Relay|bool { }
Deletes all the keys of the currently selected database. @param bool|null $sync @return Relay|bool
flushdb
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function flushall(?bool $sync = null) : Relay|bool { }
Deletes all the keys of all the existing databases, not just the currently selected one. @param bool|null $sync @return Relay|bool
flushall
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function fcall(string $name, array $keys = [], array $argv = [], callable $handler = null) : mixed { }
Invokes a Redis function. @param string $name @param array $keys @param array $argv @param callable $handler @return mixed
fcall
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function fcall_ro(string $name, array $keys = [], array $argv = [], callable $handler = null) : mixed { }
Invokes a read-only Redis function. @param string $name @param array $keys @param array $argv @param callable $handler @return mixed
fcall_ro
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function function(string $op, string ...$args) : mixed { }
Calls `FUNCTION` sub-command. @param string $op @param string $args,... @return mixed
function
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public static function flushMemory(?string $endpointId = null, int $db = null) : bool { }
Flushes Relay's in-memory cache of all databases. When given an endpoint, only that connection will be flushed. When given an endpoint and database index, only that database for that connection will be flushed. @param string|null $endpointId @param int|null $db @return bool
flushMemory
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function dbsize() : Relay|int|false { }
Returns the number of keys in the currently-selected database. @return Relay|int
dbsize
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function dump(mixed $key) : Relay|string|false { }
Serialize and return the value stored at key in a Redis-specific format. @param mixed $key @return Relay|string|false
dump
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function replicaof(?string $host = null, $port = 0) : Relay|bool { }
Attach or detach the instance as a replica of another instance. @param string|null $host @param int $port @return Relay|bool
replicaof
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function restore(mixed $key, int $ttl, string $value, ?array $options = null) : Relay|bool { }
Create a key associated with a value that is obtained by deserializing the provided serialized value. @param mixed $key @param int $ttl @param string $value @param array $options @return Relay|bool
restore
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function migrate(string $host, int $port, string|array $key, int $dstdb, int $timeout, bool $copy = \false, bool $replace = \false, #[\SensitiveParameter] mixed $credentials = null) : Relay|bool { }
Atomically transfer a key from a Redis instance to another one. @param string $host @param int $port @param string|array $key @param int $dstdb @param int $timeout @param bool $copy @param bool $replace @param mixed $credentials @return Relay|bool
migrate
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function copy(mixed $src, mixed $dst, ?array $options = null) : Relay|int|false { }
This command copies the value stored at the source key to the destination key. @param mixed $src @param mixed $dst @param array $options @return Relay|int|false
copy
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function echo(string $arg) : Relay|bool|string { }
Asks Redis to echo back the provided string. @param string $arg @return Relay|bool|string
echo
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function ping(string $arg = null) : Relay|bool|string { }
Returns PONG if no argument is provided, otherwise return a copy of the argument as a bulk. @param string $arg @return Relay|bool|string
ping
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\Local] public function idleTime() : Relay|int|false { }
Returns the number of milliseoconds since Relay has seen activity from the server. @return Relay|int|false
idleTime
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function randomkey() : Relay|string|null|bool { }
Returns a random key from Redis. @return Relay|string|null|bool
randomkey
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function time() : Relay|array|false { }
Returns the current time from Redis. @return Relay|array|false
time
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT
#[\DEPTRAC_INTERNAL\Relay\Attributes\RedisCommand] public function bgrewriteaof() : Relay|bool { }
Asynchronously rewrite the append-only file. @return Relay|bool
bgrewriteaof
php
deptrac/deptrac
vendor/jetbrains/phpstorm-stubs/relay/Relay.php
https://github.com/deptrac/deptrac/blob/master/vendor/jetbrains/phpstorm-stubs/relay/Relay.php
MIT