RepositoryBackupInterface
in
Table of Contents
- backupDeleteDataFromAccount() : int
- Delete all rows of table when backup is completed.
- backupGetDataFromAccount() : array<string|int, mixed>
- Get all rows of table to backup.
Methods
backupDeleteDataFromAccount()
Delete all rows of table when backup is completed.
public
backupDeleteDataFromAccount(int $accountId) : int
Parameters
- $accountId : int
Return values
int —Number of rows deleted
backupGetDataFromAccount()
Get all rows of table to backup.
public
backupGetDataFromAccount(int $accountId) : array<string|int, mixed>
Parameters
- $accountId : int