8000
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.
1 parent 4d8e9cb commit 79def9fCopy full SHA for 79def9f
docs/transport/mongodb.md
@@ -33,10 +33,10 @@ $factory = new MongodbConnectionFactory('mongodb:');
33
$factory = new MongodbConnectionFactory([]);
34
35
$factory = new MongodbConnectionFactory([
36
- 'uri' => 'mongodb://localhost:27017/db_name',
37
- 'dbname' => 'enqueue',
38
- 'collection_name' => 'enqueue',
39
- 'polling_interval' => '1000',
+ 'dsn' => 'mongodb://localhost:27017/db_name',
+ 'dbname' => 'enqueue',
+ 'collection_name' => 'enqueue',
+ 'polling_interval' => '1000',
40
]);
41
42
$psrContext = $factory->createContext();
0 commit comments