|
|
|
@ -48,7 +48,7 @@ abstract class BaseMailer extends Component
|
|
|
|
|
* ) |
|
|
|
|
* ~~~ |
|
|
|
|
*/ |
|
|
|
|
private $_defaultMessageConfig = []; |
|
|
|
|
public $messageConfig = []; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @param array|\yii\base\View $view view instance or its array configuration. |
|
|
|
@ -97,22 +97,6 @@ abstract class BaseMailer extends Component
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @param array $defaultMessageConfig default message config |
|
|
|
|
*/ |
|
|
|
|
public function setDefaultMessageConfig(array $defaultMessageConfig) |
|
|
|
|
{ |
|
|
|
|
$this->_defaultMessageConfig = $defaultMessageConfig; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @return array default message config |
|
|
|
|
*/ |
|
|
|
|
public function getDefaultMessageConfig() |
|
|
|
|
{ |
|
|
|
|
return $this->_defaultMessageConfig; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Creates view instance from given configuration. |
|
|
|
|
* @param array $config view configuration. |
|
|
|
|
* @return \yii\base\View view instance. |
|
|
|
|