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 c94fa5f commit 96284efCopy full SHA for 96284ef
src/GridFS/Bucket.php
@@ -21,6 +21,7 @@
21
*/
22
class Bucket
23
{
24
+ private static $defaultBucketName = 'fs';
25
private static $defaultChunkSizeBytes = 261120;
26
private static $streamWrapperProtocol = 'gridfs';
27
@@ -54,7 +55,7 @@ class Bucket
54
55
public function __construct(Manager $manager, $databaseName, array $options = [])
56
57
$options += [
- 'bucketName' => 'fs',
58
+ 'bucketName' => self::$defaultBucketName,
59
'chunkSizeBytes' => self::$defaultChunkSizeBytes,
60
];
61
0 commit comments