MailManager
Overrides the Laravel MailManager
- Replaces the Laravel Mailer class with the Winter Mailer class
- Fires mailer.beforeRegister & mailer.register events
- Uses another method to determine old vs. new mail configs
class Winter\Storm\Mail\MailManager
extends Illuminate\Mail\MailManager
Extends
Class | Description |
---|---|
Illuminate\Mail\MailManager
|
Methods
public getDefaultDriver ()
Returns
mixed
public
mailer ($name = null
)
Parameters
Property | Type | Description |
---|---|---|
$name | mixed |
mixed
|
Returns
mixed
protected getConfig (string $name)
Parameters
Property | Type | Description |
---|---|---|
$name | string |
string
|
Returns
mixed
protected resolve (string $name) : Winter\Storm\Mail\Mailer
Resolve the given mailer.
Parameters
Property | Type | Description |
---|---|---|
$name | string |
string
|
Returns
Copyright © 2024 Winter CMS