You are here

public function DestinationBase::saveFile in Backup and Migrate 8.4

Save a file to the destination.

Parameters

\BackupMigrate\Core\File\BackupFileReadableInterface $file: The file to save.

Overrides WritableDestinationInterface::saveFile

1 method overrides DestinationBase::saveFile()
DirectoryDestination::saveFile in lib/backup_migrate_core/src/Destination/DirectoryDestination.php
Save a file to the destination.

File

lib/backup_migrate_core/src/Destination/DestinationBase.php, line 29

Class

DestinationBase
Class DestinationBase.

Namespace

BackupMigrate\Core\Destination

Code

public function saveFile(BackupFileReadableInterface $file) {
  $this
    ->_saveFile($file);
  $this
    ->_saveFileMetadata($file);
}