コード例 #1
0
 public function getCustomersWithUpcomingBirthday($limit = 6)
 {
     return [];
     $customers = Customer::hasBirthday()->get()->filter([$this, 'filterByUpcomingBirthdayWithinMonth'])->sort([$this, 'compareByUpcomingBirthday']);
     return $customers->slice(0, $limit);
 }