AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
Docs Menu

MongoDB\GridFS\Bucket::getChunksCollection()

1.2バージョン の新機能。:

MongoDB\GridFS\Bucket::getChunksCollection()

バケットで使用されるチャンク コレクションを返します。

function getChunksCollection(): MongoDB\Collection

チャンク コレクションのMongoDB\Collectionオブジェクト。

<?php
$bucket = (new MongoDB\Client)->test->selectGridFSBucket();
var_dump((string) $bucket->getChunksCollection());

出力は次のようになります。

string(14) "test.fs.chunks"