class RedisAdapter extends AbstractAdapter
LoggerAwareTrait |
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. |
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
{@inheritdoc}
Creates a Redis connection using a DSN configuration.
Example DSN: - redis://localhost - redis://example.com:1234 - redis://[email protected]/13 - redis:///var/run/redis.sock - redis://secret@/var/run/redis.sock/13
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Cache/Adapter/RedisAdapter.html