/home/techb158/ileadtechnology.com/SSM/app/Models/utility
NameSizeModeActions
Backup.php10990644editdlrm
EmailLog.php11940644editdlrm
EmailTemplate.php12220644editdlrm
IpFilter.php8160644editdlrm
Todo.php19640644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/app/Models/utility/Backup.php (1099B)
'array']; protected $primaryKey = 'id'; protected $table = 'backups'; protected static $ignoreChangedAttributes = ['updated_at']; protected static $logAttributes = ['file']; protected static $logName = 'backup'; protected static $logOnlyDirty = true; public function getOption(string $option) { return array_get($this->options, $option); } public function scopeCreatedAtDateBetween($q, $dates) { if ((! $dates['start_date'] || ! $dates['end_date']) && $dates['start_date'] <= $dates['end_date']) { return $q; } return $q->where('created_at', '>=', getStartOfDate($dates['start_date']))->where('created_at', '<=', getEndOfDate($dates['end_date'])); } }