Documentation

DownloadBackup

Use case for generating and downloading LWT backup.

Tags
since
3.0.0

Table of Contents

Properties

$repository  : BackupRepositoryInterface

Methods

__construct()  : mixed
Constructor.
execute()  : never
Execute the use case - generate and output backup file.
generate()  : array{filename: string, content: string}
Generate backup content without outputting.

Properties

Methods

execute()

Execute the use case - generate and output backup file.

public execute() : never
Return values
never

Outputs file and terminates

generate()

Generate backup content without outputting.

public generate() : array{filename: string, content: string}

Useful for testing or alternative output methods.

Return values
array{filename: string, content: string}

Backup data


        
On this page

Search results