Documentation

DefaultStrategy extends CleanupStrategy
in package

Table of Contents

$config  : Repository
$newestBackup  : Backup
__construct()  : mixed
deleteOldBackups()  : mixed
calculateDateRanges()  : Collection
groupByDateFormat()  : Collection
removeBackupsForAllPeriodsExceptOne()  : mixed
removeBackupsOlderThan()  : mixed
removeOldBackupsUntilUsingLessThanMaximumStorage()  : mixed

Properties

Methods

removeBackupsForAllPeriodsExceptOne()

protected removeBackupsForAllPeriodsExceptOne(Collection $backupsPerPeriod) : mixed
Parameters
$backupsPerPeriod : Collection
Return values
mixed

Search results