createTransport() protected method
Creates email transport instance by its array configuration.
protected \Swift_Transport createTransport ( array $config ) | ||
---|---|---|
$config | array |
Transport configuration. |
return | \Swift_Transport |
Transport instance. |
throws | yii\base\InvalidConfigException |
on invalid transport configuration. |
Please login to continue.