MongoGridfsFile::__construct
(PECL mongo >=0.9.0)
MongoGridfsFile::__construct — Create a new GridFS file
Описание
public MongoGridfsFile::__construct
(
MongoGridFS $gridfs
,
array $file
)
Список параметров
-
gridfs
-
The parent MongoGridFS instance.
-
file
-
A file from the database.
Возвращаемые значения
Returns a new MongoGridFSFile.