You are here

public function WritableDestinationInterface::saveFile in Backup and Migrate 5.0.x

Save a file to the destination.

Parameters

\Drupal\backup_migrate\Core\File\BackupFileReadableInterface $file: The file to save.

2 methods override WritableDestinationInterface::saveFile()
DestinationBase::saveFile in src/Core/Destination/DestinationBase.php
Save a file to the destination.
StreamDestination::saveFile in src/Core/Destination/StreamDestination.php
Save a file to the destination.

File

src/Core/Destination/WritableDestinationInterface.php, line 20

Class

WritableDestinationInterface
Interface WritableDestinationInterface.

Namespace

Drupal\backup_migrate\Core\Destination

Code

public function saveFile(BackupFileReadableInterface $file);