File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ $factory = new RedisConnectionFactory([]);
71
71
$factory = new RedisConnectionFactory([
72
72
'host' => 'example.com',
73
73
'port' => 1000,
74
- 'vendor ' => 'phpredis',
74
+ 'scheme_extensions ' => [ 'phpredis'] ,
75
75
]);
76
76
77
77
// same as above but given as DSN string
@@ -101,7 +101,7 @@ use Enqueue\Redis\RedisConnectionFactory;
101
101
$connectionFactory = new RedisConnectionFactory([
102
102
'host' => 'localhost',
103
103
'port' => 6379,
104
- 'scheme_extensions' => 'predis',
104
+ 'scheme_extensions' => [ 'predis'] ,
105
105
]);
106
106
107
107
$context = $connectionFactory->createContext();
@@ -232,4 +232,4 @@ To use it with Enqueue Redis you have to pass REDIS_URL to RedisConnectionFactor
232
232
$connection = new \Enqueue\Redis\RedisConnectionFactory(getenv('REDIS_URL'));
233
233
```
234
234
235
- [ back to index] ( ../index.md )
235
+ [ back to index] ( ../index.md )
You can’t perform that action at this time.
0 commit comments