/** * @param \MongoGridFS $gridFS storage of the upload (and chunks) */ function __construct(\MongoGridFS $gridFS) { parent::__construct(); $this->gridFs = $gridFS; }