TransportManager
class TransportManager extends Manager
Properties
protected Application | $app | The application instance. |
from Manager |
protected array | $customCreators | The registered custom driver creators. |
from Manager |
protected array | $drivers | The array of created "drivers". |
from Manager |
Methods
Get the default mail driver name.
Dynamically call the default driver instance.
Create an instance of the SMTP Swift Transport driver.
Create an instance of the Sendmail Swift Transport driver.
Create an instance of the Amazon SES Swift Transport driver.
Add the SES credentials to the configuration array.
Create an instance of the Mail Swift Transport driver.
Create an instance of the Mailgun Swift Transport driver.
Create an instance of the Mandrill Swift Transport driver.
Create an instance of the SparkPost Swift Transport driver.
Create an instance of the Log Swift Transport driver.
Create an instance of the Array Swift Transport Driver.
Get a fresh Guzzle HTTP client instance.
Set the default mail driver name.
Details
in
Manager at line 37
void
__construct(Application $app)
Create a new manager instance.
at line 195
string
getDefaultDriver()
Get the default mail driver name.
in
Manager at line 55
mixed
driver(string $driver = null)
Get a driver instance.
in
Manager at line 77
protected mixed
createDriver(string $driver)
Create a new driver instance.
in
Manager at line 100
protected mixed
callCustomCreator(string $driver)
Call a custom driver creator.
in
Manager at line 112
$this
extend(string $driver, Closure $callback)
Register a custom driver creator Closure.
in
Manager at line 124
array
getDrivers()
Get all of the created "drivers".
in
Manager at line 136
mixed
__call(string $method, array $parameters)
Dynamically call the default driver instance.
at line 27
protected Swift_SmtpTransport
createSmtpDriver()
Create an instance of the SMTP Swift Transport driver.
at line 66
protected Swift_SendmailTransport
createSendmailDriver()
Create an instance of the Sendmail Swift Transport driver.
at line 78
protected Swift_SendmailTransport
createSesDriver()
Create an instance of the Amazon SES Swift Transport driver.
at line 95
protected array
addSesCredentials(array $config)
Add the SES credentials to the configuration array.
at line 109
protected Swift_MailTransport
createMailDriver()
Create an instance of the Mail Swift Transport driver.
at line 119
protected MailgunTransport
createMailgunDriver()
Create an instance of the Mailgun Swift Transport driver.
at line 134
protected MandrillTransport
createMandrillDriver()
Create an instance of the Mandrill Swift Transport driver.
at line 148
protected SparkPostTransport
createSparkPostDriver()
Create an instance of the SparkPost Swift Transport driver.
at line 162
protected LogTransport
createLogDriver()
Create an instance of the Log Swift Transport driver.
at line 172
protected ArrayTransport
createArrayDriver()
Create an instance of the Array Swift Transport Driver.
at line 183
protected Client
guzzle(array $config)
Get a fresh Guzzle HTTP client instance.
at line 206
void
setDefaultDriver(string $name)
Set the default mail driver name.