function DirectoryDestination::saveFile in Backup and Migrate 8.4
Save a file to the destination.
Parameters
\BackupMigrate\Core\File\BackupFileReadableInterface $file: The file to save.
Overrides DestinationBase::saveFile
File
- lib/
backup_migrate_core/ src/ Destination/ DirectoryDestination.php, line 24
Class
- DirectoryDestination
- Class ServerDirectoryDestination.
Namespace
BackupMigrate\Core\DestinationCode
function saveFile(BackupFileReadableInterface $file) {
$this
->_saveFile($file);
$this
->_saveFileMetadata($file);
}