Advertisement
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);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement