CleanupJob
in package
Table of Contents
- $backupDestinations : Collection
- $sendNotifications : bool
- $strategy : CleanupStrategy
- __construct() : mixed
- run() : mixed
- sendNotification() : mixed
Properties
$backupDestinations
protected
Collection
$backupDestinations
$sendNotifications
protected
bool
$sendNotifications
= true
$strategy
protected
CleanupStrategy
$strategy
Methods
__construct()
public
__construct(Collection $backupDestinations, CleanupStrategy $strategy[, bool $disableNotifications = false ]) : mixed
Parameters
- $backupDestinations : Collection
- $strategy : CleanupStrategy
- $disableNotifications : bool = false
Return values
mixed —run()
public
run() : mixed
Return values
mixed —sendNotification()
protected
sendNotification(mixed $notification) : mixed
Parameters
- $notification : mixed