RedisSaver
class RedisSaver implements SaverInterface (View source)
Traits
Properties
protected Redis | $connection |
Methods
Generator|string[]
paginatedScan(Redis $redis, string $pattern)
Scan for a specific key pattern
from
RedisPaginatedTrait
Generator|array
paginatedScanValues(Redis $redis, string $pattern)
Get the keys and values matching a pattern
from
RedisPaginatedTrait
__construct(Redis $redis)
No description
bool
save(string $item, string $value, string $environment, string $group, string|null $namespace = null)
Save config item.
array
flattenValue($namespace, $group, $item, mixed $value)
Flatten a given value into a list of keys => serialized values ['a' => ['b' => 'c']] would become ['a.b' => 's:1:"c";']
Details
protected Generator|string[]
paginatedScan(Redis $redis, string $pattern)
Scan for a specific key pattern
protected Generator|array
paginatedScanValues(Redis $redis, string $pattern)
Get the keys and values matching a pattern
__construct(Redis $redis)
No description
bool
save(string $item, string $value, string $environment, string $group, string|null $namespace = null)
Save config item.
protected array
flattenValue($namespace, $group, $item, mixed $value)
Flatten a given value into a list of keys => serialized values ['a' => ['b' => 'c']] would become ['a.b' => 's:1:"c";']