1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace Symfony\Component\Cache\Simple;
- use Symfony\Component\Cache\Adapter\RedisAdapter;
- use Symfony\Component\Cache\Marshaller\MarshallerInterface;
- 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($redisClient, string $namespace = '', int $defaultLifetime = 0, MarshallerInterface $marshaller = null)
- {
- $this->init($redisClient, $namespace, $defaultLifetime, $marshaller);
- }
- }
|