<?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\Adapter;useSymfony\Component\Cache\Marshaller\MarshallerInterface;useSymfony\Component\Cache\Traits\RedisTrait;classRedisAdapterextendsAbstractAdapter{useRedisTrait;/** * @param \Redis|\RedisArray|\RedisCluster|\Predis\ClientInterface $redisClient The redis client * @param string $namespace The default namespace * @param int $defaultLifetime The default lifetime */publicfunction__construct($redisClient,string$namespace='',int$defaultLifetime=0,MarshallerInterface$marshaller=null){$this->init($redisClient,$namespace,$defaultLifetime,$marshaller);}}