Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
7 | #[Package('core')] |
||
8 | class RedisInvalidatorStorage extends AbstractInvalidatorStorage |
||
9 | { |
||
10 | private const KEY = 'invalidation'; |
||
11 | |||
12 | /** |
||
13 | * @internal |
||
14 | * |
||
15 | * @param \Redis|\RedisCluster $redis |
||
16 | */ |
||
17 | public function __construct(private $redis) |
||
18 | { |
||
19 | } |
||
20 | |||
21 | public function store(array $tags): void |
||
24 | } |
||
25 | |||
26 | public function loadAndDelete(): array |
||
37 | } |
||
38 | } |
||
39 |