We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0bc1117 + 6fbf6cb commit ba49fc5Copy full SHA for ba49fc5
etc/di/redis-client.php
@@ -6,7 +6,8 @@
6
use React\EventLoop\LoopInterface;
7
8
return [
9
- Client::class => function (LoopInterface $loop, string $dsn, LoggerInterface $logger = null) {
+ Client::class => \DI\factory(function (LoopInterface $loop, string $dsn, LoggerInterface $logger = null) {
10
return WaitingClient::create($loop, $dsn, $logger);
11
- },
+ })
12
+ ->parameter('dsn', \DI\get('config.redis.dsn')),
13
];
0 commit comments