public function sendNotifications() { $all_email_notifications = Profile::getAllUserEmailNotifications(); foreach ($all_email_notifications as $data) { Mailing::notifications($data); } echo 'Script Completed'; }
public function sendNotifications() { $all_email_notifications = Profile::getAllUserEmailNotifications(); foreach ($all_email_notifications as $data) { Mailing::notifications($data); } echo 'Script Completed'; }