EmptyDatabase
in package
Use case for emptying the database.
Truncates all user data tables while preserving settings.
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor.
- execute() : array{success: bool}
- Execute the use case.
Properties
$repository
private
BackupRepositoryInterface
$repository
Methods
__construct()
Constructor.
public
__construct(BackupRepositoryInterface $repository) : mixed
Parameters
- $repository : BackupRepositoryInterface
-
Backup repository
execute()
Execute the use case.
public
execute() : array{success: bool}