public function scopeFromDecadesAgo(Builder $query, $ago, $endDateTime = null) { return $this->scopeFromDateTimeRange(DateTime::getDecadesAgo($ago, $endDateTime)); }
public function findFromDecadesAgo($key, $value, $ago, $endDateTime = null) { return $this->findWhereDateTimeBetween($key, $value, 'created_at', DateTime::getDecadesAgo($ago, $endDateTime)); }
public function fromDecadesAgo($ago, $endDateTime = null) { return $this->fromDateTimeRange(DateTime::getDecadesAgo($ago, $endDateTime)); }