File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 "psr/cache" : " ^1.0 || ^2.0 || ^3.0" ,
1919 "ray/aop" : " ^2.10" ,
2020 "ray/di" : " ^2.13.1" ,
21- "ray/psr-cache-module" : " ^1.1 .2" ,
21+ "ray/psr-cache-module" : " ^1.3 .2" ,
2222 "symfony/cache" : " ^5.3 || ^6.0" ,
2323 "symfony/cache-contracts" : " ^2.4 || ^3.0"
2424 },
Original file line number Diff line number Diff line change 88use Psr \Cache \CacheItemPoolInterface ;
99use Ray \Di \AbstractModule ;
1010use Ray \PsrCacheModule \Annotation \CacheNamespace ;
11- use Ray \PsrCacheModule \Annotation \RedisInstance ;
1211use Ray \PsrCacheModule \Psr6RedisModule ;
13- use Symfony \ Component \ Cache \ Adapter \RedisAdapter ;
12+ use Ray \ PsrCacheModule \RedisAdapter ;
1413
1514/**
1615 * Provides ResourceStorageInterface and derived bindings
@@ -40,7 +39,7 @@ protected function configure(): void
4039 {
4140 $ this ->install (new Psr6RedisModule ($ this ->server ));
4241 $ this ->bind (CacheItemPoolInterface::class)->annotatedWith (EtagPool::class)->toConstructor (RedisAdapter::class, [
43- 'redis ' => RedisInstance::class ,
42+ 'redisProvider ' => ' redis ' ,
4443 'namespace ' => CacheNamespace::class,
4544 ]);
4645 }
You can’t perform that action at this time.
0 commit comments