emilmoe May 17th, 2020 591 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- * Active records for a given date.
- * @param Builder $query
- * @param Carbon $date
- * @return void
- public function scopeActive(Builder $query, Carbon $date): void
- $query->where('date', $date)
- ->where('locked_active', true);
RAW Paste Data