MongoGridfsFile::__construct

(PECL mongo >=0.9.0)

MongoGridfsFile::__constructCreate a new GridFS file

Descrierea

public MongoGridfsFile::__construct ( MongoGridFS $gridfs , array $file )

Parametri

gridfs

The parent MongoGridFS instance.

file

A file from the database.

Valorile întoarse

Returns a new MongoGridFSFile.