summaryrefslogtreecommitdiff
path: root/vendor/symfony/cache/Adapter/RedisAdapter.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/cache/Adapter/RedisAdapter.php')
-rw-r--r--vendor/symfony/cache/Adapter/RedisAdapter.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/vendor/symfony/cache/Adapter/RedisAdapter.php b/vendor/symfony/cache/Adapter/RedisAdapter.php
new file mode 100644
index 0000000..e33f2f6
--- /dev/null
+++ b/vendor/symfony/cache/Adapter/RedisAdapter.php
@@ -0,0 +1,25 @@
1<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Symfony\Component\Cache\Adapter;
13
14use Symfony\Component\Cache\Marshaller\MarshallerInterface;
15use Symfony\Component\Cache\Traits\RedisTrait;
16
17class RedisAdapter extends AbstractAdapter
18{
19 use RedisTrait;
20
21 public function __construct(\Redis|\RedisArray|\RedisCluster|\Predis\ClientInterface|\Relay\Relay $redis, string $namespace = '', int $defaultLifetime = 0, ?MarshallerInterface $marshaller = null)
22 {
23 $this->init($redis, $namespace, $defaultLifetime, $marshaller);
24 }
25}