We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fe70309 + 317369c commit 4f999baCopy full SHA for 4f999ba
README.md
@@ -63,8 +63,10 @@ The service provider will register a mongodb database extension with the origina
63
For usage outside Laravel, check out the [Capsule manager](https://github.com/illuminate/database/blob/master/README.md) and add:
64
65
```php
66
-$capsule->getDatabaseManager()->extend('mongodb', function($config)
+$capsule->getDatabaseManager()->extend('mongodb', function($config, $name)
67
{
68
+ $config['name'] = $name;
69
+
70
return new Jenssegers\Mongodb\Connection($config);
71
});
72
```
0 commit comments