class RedisAdapter extends AbstractAdapter
Traits
LoggerAwareTrait |
Methods
static | createSystemCache($namespace, $defaultLifetime, $version, $directory, LoggerInterface $logger = null) | from AbstractAdapter |
getItem($key) {@inheritdoc} | from AbstractAdapter | |
getItems(array $keys = array()) {@inheritdoc} | from AbstractAdapter | |
hasItem($key) {@inheritdoc} | from AbstractAdapter | |
clear() {@inheritdoc} | from AbstractAdapter | |
deleteItem($key) {@inheritdoc} | from AbstractAdapter | |
deleteItems(array $keys) {@inheritdoc} | from AbstractAdapter | |
save(CacheItemInterface $item) {@inheritdoc} | from AbstractAdapter | |
saveDeferred(CacheItemInterface $item) {@inheritdoc} | from AbstractAdapter | |
commit() {@inheritdoc} | from AbstractAdapter | |
__destruct() | from AbstractAdapter | |
static | handleUnserializeCallback($class) | from AbstractAdapter |
__construct($redisClient, $namespace = '', $defaultLifetime) | ||
static Redis|Client | createConnection(string $dsn, array $options = array()) Creates a Redis connection using a DSN configuration. |
Details
static createSystemCache($namespace, $defaultLifetime, $version, $directory, LoggerInterface $logger = null)
getItem($key)
{@inheritdoc}
getItems(array $keys = array())
{@inheritdoc}
hasItem($key)
{@inheritdoc}
clear()
{@inheritdoc}
deleteItem($key)
{@inheritdoc}
deleteItems(array $keys)
{@inheritdoc}
save(CacheItemInterface $item)
{@inheritdoc}
saveDeferred(CacheItemInterface $item)
{@inheritdoc}
commit()
{@inheritdoc}
__destruct()
static handleUnserializeCallback($class)
__construct($redisClient, $namespace = '', $defaultLifetime)
static Redis|Client createConnection(string $dsn, array $options = array())
Creates a Redis connection using a DSN configuration.
Example DSN: - redis://localhost - redis://example.com:1234 - redis://secret@example.com/13 - redis:///var/run/redis.sock - redis://secret@/var/run/redis.sock/13
Please login to continue.