|
|
@ -145,7 +145,7 @@ class Mailer extends BaseMailer |
|
|
|
$transport->$name = $value; |
|
|
|
$transport->$name = $value; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
$setter = 'set' . $name; |
|
|
|
$setter = 'set' . $name; |
|
|
|
if (method_exists($transport, $setter)) { |
|
|
|
if (method_exists($transport, $setter) || method_exists($transport, '__call')) { |
|
|
|
$transport->$setter($value); |
|
|
|
$transport->$setter($value); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
throw new InvalidConfigException('Setting unknown property: ' . get_class($transport) . '::' . $name); |
|
|
|
throw new InvalidConfigException('Setting unknown property: ' . get_class($transport) . '::' . $name); |
|
|
|