"yii\swiftmailer\Mailer::createSwiftObject()" simplified.