You are here

public function ArchiverInterface::addFile in Backup and Migrate 8.4

Parameters

string $real_path: The real path to the file. Can be a stream URI.

string $base_dir: The base directory of the path to be removed when the file is added.

File

lib/backup_migrate_core/src/Service/ArchiverInterface.php, line 43

Class

ArchiverInterface
Interface ArchiveWriterInterface.

Namespace

BackupMigrate\Core\Service

Code

public function addFile($real_path, $base_dir = '');