src/GridFS/Repository.php
public function insertMany($documents, $options = [])
    {
        foreach ($documents as $document) {
            if (!$this->insertOne($document)) {
                return false;
            }
        }

        return true;
    }
public function insertMany($documents, $options = [])
    {
        foreach ($documents as $document) {
            if (!$this->insertOne($document)) {
                return false;
            }
        }

        return true;
    }
public function insertMany ( $ documents , $ options = [ ] ) { foreach ( $ documents as $ document ) { if ( ! $ this -> insertOne ( $ document ) ) { return false ; } } return true ; }
Insert multiple GridFS documents

@param   array   $documents  Documents to insert
@param   array   $options    Useless, just for Repository compatibility
@return  boolean
Insert multiple GridFS documents