Example #1
0
 public static function getMailSender(array $mailConfig)
 {
     if (null === self::$mailSender) {
         self::$mailSender = new MailSender($mailConfig);
     }
     return self::$mailSender;
 }