You are here

public function ArchiverInterface::addFile in Backup and Migrate 5.0.x

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

src/Core/Service/ArchiverInterface.php, line 46

Class

ArchiverInterface
Interface ArchiveWriterInterface.

Namespace

Drupal\backup_migrate\Core\Service

Code

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