Make method private

[MAILPOET-2146]
This commit is contained in:
Pavel Dohnal
2019-07-24 10:03:43 +02:00
committed by M. Shull
parent bfa0766a40
commit d6f263ef3f

View File

@@ -40,7 +40,7 @@ class Mailer {
return $this->mailer_instance->send($newsletter, $subscriber, $extra_params); return $this->mailer_instance->send($newsletter, $subscriber, $extra_params);
} }
function buildMailer() { private function buildMailer() {
switch ($this->mailer_config['method']) { switch ($this->mailer_config['method']) {
case self::METHOD_AMAZONSES: case self::METHOD_AMAZONSES:
$mailer_instance = new $this->mailer_config['class']( $mailer_instance = new $this->mailer_config['class'](