Writes the contents of a readable stream to a GridFS file.
public uploadFromStream ( resource $source ) : MongoDB\BSON\ObjectId | ||
$source | resource | Readable stream |
return | MongoDB\BSON\ObjectId |
public uploadFromStream ( resource $source ) : MongoDB\BSON\ObjectId | ||
$source | resource | Readable stream |
return | MongoDB\BSON\ObjectId |