12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace Symfony\Component\Cache\Simple;
- use Symfony\Component\Cache\Adapter\RedisAdapter;
- use Symfony\Component\Cache\Marshaller\MarshallerInterface;
- use Symfony\Component\Cache\Traits\RedisClusterProxy;
- use Symfony\Component\Cache\Traits\RedisProxy;
- use Symfony\Component\Cache\Traits\RedisTrait;
- use Symfony\Contracts\Cache\CacheInterface;
- @trigger_error(sprintf('The "%s" class is deprecated since Symfony 4.3, use "%s" and type-hint for "%s" instead.', RedisCache::class, RedisAdapter::class, CacheInterface::class), \E_USER_DEPRECATED);
- class RedisCache extends AbstractCache
- {
- use RedisTrait;
-
- public function __construct($redis, string $namespace = '', int $defaultLifetime = 0, MarshallerInterface $marshaller = null)
- {
- $this->init($redis, $namespace, $defaultLifetime, $marshaller);
- }
- }
|