<?php/* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */namespaceSymfony\Component\Cache\Simple;useSymfony\Component\Cache\Adapter\RedisAdapter;useSymfony\Component\Cache\Marshaller\MarshallerInterface;useSymfony\Component\Cache\Traits\RedisTrait;useSymfony\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);/** * @deprecated since Symfony 4.3, use RedisAdapter and type-hint for CacheInterface instead. */classRedisCacheextendsAbstractCache{useRedisTrait;/** * @param \Redis|\RedisArray|\RedisCluster|\Predis\ClientInterface $redisClient */publicfunction__construct($redisClient,string$namespace='',int$defaultLifetime=0,MarshallerInterface$marshaller=null){$this->init($redisClient,$namespace,$defaultLifetime,$marshaller);}}