JsonTenantBackupDumper
in package
implements
TenantBackupDumperInterface
FinalYes
Creates KMP's gzip-compressed JSON logical archive for one tenant.
Table of Contents
Interfaces
Properties
- $backupServiceFactory : callable(): BackupService
- $tenantConnections : TenantConnectionManager
Methods
- __construct() : mixed
- dump() : TenantBackupDumpResult
Properties
$backupServiceFactory
private
callable(): BackupService
$backupServiceFactory
$tenantConnections read-only
private
TenantConnectionManager
$tenantConnections
Methods
__construct()
public
__construct(TenantConnectionManager $tenantConnections[, callable|null $backupServiceFactory = null ]) : mixed
Parameters
- $tenantConnections : TenantConnectionManager
- $backupServiceFactory : callable|null = null
dump()
public
dump(TenantMetadata $tenant, SensitiveString $databasePassword, string $outputPath) : TenantBackupDumpResult
Parameters
- $tenant : TenantMetadata
- $databasePassword : SensitiveString
- $outputPath : string