public static function sendEmail($to, $subject, $body) { $emailFunction = EmailUtil::getEmailFunction(); $emailFunction($to, $subject, $body); }