©
本文檔使用 php中文網手册 發布
(PECL mongo >=0.9.0)
MongoGridfsFile::__construct — Create a new GridFS file
$gridfs
, array $file
)
gridfs
The parent MongoGridFS instance.
file
A file from the database.
Returns a new MongoGridFSFile.