src/Webiny/BackupService/Lib/BackupMongo.php
public function exportDatabases()
    {
        $exports = [];
        foreach ($this->databases as $db) {
            $exports[] = $this->createExport($db);
        }

        return $exports;
    }
public function exportDatabases()
    {
        $exports = [];
        foreach ($this->databases as $db) {
            $exports[] = $this->createExport($db);
        }

        return $exports;
    }
public function exportDatabases ( ) { $ exports = [ ] ; foreach ( $ this -> databases as $ db ) { $ exports [ ] = $ this -> createExport ( $ db ) ; } return $ exports ; }
Loops over the list of databases and calls createExport method.

@return array List of database export directories.
@throws \Exception
Loops over the list of databases and calls createExport method .