PHP Class Spatie\Backup\Tasks\Backup\BackupJobFactory

Show file Open project: spatie/laravel-backup Class Usage Examples

Public Methods

Method Description
createFromArray ( array $config ) : BackupJob

Protected Methods

Method Description
createDbDumpers ( array $dbConnectionNames ) : Collection
createFileSelection ( array $sourceFiles ) : FileSelection

Method Details

createDbDumpers() protected static method

protected static createDbDumpers ( array $dbConnectionNames ) : Collection
$dbConnectionNames array
return Illuminate\Support\Collection

createFileSelection() protected static method

protected static createFileSelection ( array $sourceFiles ) : FileSelection
$sourceFiles array
return FileSelection

createFromArray() public static method

public static createFromArray ( array $config ) : BackupJob
$config array
return BackupJob