1 backup.class.inc | public Backup::preBackup(BackupFile &$file) |
Prepare a file to receive a backup.
This step is not used in core but available for completeness.
Parameters
BackupFile $file: The file to receive the backup. This is explicitly passed by reference to allow it to be reassigned to a new file if needed.
Return value
void:
File
- core/
includes/ backup/ backup.class.inc, line 161 - Contains the Backup base class.
Class
- Backup
- Base class for creating backups.
Code
public function preBackup(BackupFile &$file) {
$this->prepareEnvironment();
}