KMP PHP API Reference

LocalPlatformDatabaseBackupStorage
in package
implements PlatformDatabaseBackupStorageInterface

Table of Contents

Interfaces

PlatformDatabaseBackupStorageInterface

Properties

$allowInEnvironments  : array<string|int, mixed>
$enabled  : bool
$environment  : string
$rootPath  : string

Methods

__construct()  : mixed
delete()  : void
Delete a stored encrypted archive.
retrieve()  : TenantBackupStoredObject
Retrieve and verify basic metadata for an encrypted archive.
store()  : TenantBackupStoredObject
Persist an encrypted platform database archive.
workPath()  : string
Return an isolated local staging path for an archive.
assertEnabled()  : void
assertSafeSegment()  : void
assertSafeSuffix()  : void
ensureDirectory()  : void
join()  : string
pathFromUri()  : string

Properties

Methods

__construct()

public __construct(string $rootPath, bool $enabled[, string $environment = 'production' ][, array<string|int, mixed> $allowInEnvironments = ['local', 'development', 'dev', 'test', 'ci'] ]) : mixed
Parameters
$rootPath : string
$enabled : bool
$environment : string = 'production'
$allowInEnvironments : array<string|int, mixed> = ['local', 'development', 'dev', 'test', 'ci']

workPath()

Return an isolated local staging path for an archive.

public workPath(string $backupId, string $suffix) : string
Parameters
$backupId : string
$suffix : string
Return values
string
On this page

Search results