File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -265,9 +265,14 @@ public function openDownloadStreamByName($filename, array $options = [])
265
265
*
266
266
* Supported options:
267
267
*
268
+ * * _id (mixed): File document identifier. Defaults to a new ObjectId.
269
+ *
268
270
* * chunkSizeBytes (integer): The chunk size in bytes. Defaults to the
269
271
* bucket's chunk size.
270
272
*
273
+ * * metadata (document): User data for the "metadata" field of the files
274
+ * collection document.
275
+ *
271
276
* @param string $filename Filename
272
277
* @param array $options Upload options
273
278
* @return resource
@@ -322,9 +327,14 @@ public function rename($id, $newFilename)
322
327
*
323
328
* Supported options:
324
329
*
330
+ * * _id (mixed): File document identifier. Defaults to a new ObjectId.
331
+ *
325
332
* * chunkSizeBytes (integer): The chunk size in bytes. Defaults to the
326
333
* bucket's chunk size.
327
334
*
335
+ * * metadata (document): User data for the "metadata" field of the files
336
+ * collection document.
337
+ *
328
338
* @param string $filename Filename
329
339
* @param resource $source Readable stream
330
340
* @param array $options Stream options
You can’t perform that action at this time.
0 commit comments