\Pydio\Cache\Doctrine\ExtPydioRedisCache

Class PydioRedisCache

Summary

Methods
Properties
Constants
setRedis()
deleteKeysStartingWith()
setNamespace()
No public properties found
No constants found
No protected methods found
$internalRedis
$internalNamespace
$internalNamespaceVersion
N/A
namespacedIdAsPattern()
No private properties found
N/A

Properties

$internalRedis

$internalRedis : \Redis

Type

\Redis

$internalNamespace

$internalNamespace : 

Type

$internalNamespaceVersion

$internalNamespaceVersion : 

Type

Methods

setRedis()

setRedis(\Redis  $redis) : void

Sets the redis instance to use.

Parameters

\Redis $redis

deleteKeysStartingWith()

deleteKeysStartingWith(string  $pattern) : boolean

Parameters

string $pattern

Returns

boolean

setNamespace()

setNamespace(string  $namespace) : void

Parameters

string $namespace

namespacedIdAsPattern()

namespacedIdAsPattern(string  $id) : string

Prefixes the passed id with the configured namespace value.

Parameters

string $id

The id to namespace.

Returns

string —

The namespaced id.