MongoGridfsFile::__construct

Create a new GridFS file

Description

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

Parameters

gridfs

The parent MongoGridFS instance.

file

A file from the database.

Return Values

Returns a new MongoGridFSFile.