Skip to content

Commit e633d9a

Browse files
committed
Docs review
1 parent 3815890 commit e633d9a

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

docs/filesystems.txt

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@ to use the ``gridfs`` driver in ``config/filesystems.php``:
3939
'gridfs' => [
4040
'driver' => 'gridfs',
4141
'connection' => 'mongodb',
42+
// 'database' => null,
43+
// 'bucket' => 'fs',
44+
// 'prefix' => '',
45+
// 'read-only' => false,
46+
// 'throw' => false,
4247
],
4348
],
4449

@@ -80,8 +85,8 @@ In this case, the options ``connection`` and ``database`` are ignored:
8085

8186
.. code-block:: php
8287

83-
use Illuminate\Foundation\Application;
84-
use MongoDB\GridFS\Bucket;
88+
use Illuminate\Foundation\Application;
89+
use MongoDB\GridFS\Bucket;
8590

8691
'disks' => [
8792
'gridfs' => [
@@ -121,8 +126,8 @@ in the Laravel documentation.
121126
Versioning
122127
----------
123128

124-
In GridFS, file names are metadata in file documents identified by unique
125-
MongoDB ObjectID. If multiple documents share the same file name, they are
129+
File names in GridFS are metadata in file documents, which are identified by
130+
unique ObjectIDs. If multiple documents share the same file name, they are
126131
considered "revisions" and further distinguished by creation timestamps.
127132

128133
The Laravel MongoDB integration uses the GridFS Flysystem adapter. It interacts

0 commit comments

Comments
 (0)