MongoGridfsFile::__construct
(PECL mongo >=0.9.0)
MongoGridfsFile::__construct — Create a new GridFS file
Description
Parameters
- gridfs
-
The parent MongoGridFS instance.
- file
-
A file from the database.
Return Values
Returns a new MongoGridFSFile.