yii\mail\BaseMailer::setViewPath PHP Méthode

setViewPath() public méthode

public setViewPath ( string $path )
$path string the directory that contains the view files for composing mail messages This can be specified as an absolute path or a path alias.
    public function setViewPath($path)
    {
        $this->_viewPath = Yii::getAlias($path);
    }