backup_migrate-5.0.0-rc2/src/Core/Destination/WritableDestinationInterface.php
src/Core/Destination/WritableDestinationInterface.php
<?php
namespace Drupal\backup_migrate\Core\Destination;
use Drupal\backup_migrate\Core\File\BackupFileReadableInterface;
/**
* An interface for managing writeable destinations.
*
* @package Drupal\backup_migrate\Core\Destination
*/
interface WritableDestinationInterface extends DestinationInterface {
/**
* Save a file to the destination.
*
* @param \Drupal\backup_migrate\Core\File\BackupFileReadableInterface $file
* The file to save.
*/
public function saveFile(BackupFileReadableInterface $file);
}
