TransportManager
class TransportManager extends Manager (View source)
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
void | __construct(Application $app) Create a new manager instance. | from Manager |
string | getDefaultDriver() Get the default cache driver name. | |
mixed | driver(string $driver = null) Get a driver instance. | from Manager |
mixed | createDriver(string $driver) Create a new driver instance. | from Manager |
mixed | callCustomCreator(string $driver) Call a custom driver creator. | from Manager |
$this | extend(string $driver, Closure $callback) Register a custom driver creator Closure. | from Manager |
array | getDrivers() Get all of the created "drivers". | from Manager |
mixed | __call(string $method, array $parameters) Dynamically call the default driver instance. | from Manager |
Swift_SmtpTransport | createSmtpDriver() Create an instance of the SMTP Swift Transport driver. | |
Swift_SendmailTransport | createSendmailDriver() Create an instance of the Sendmail Swift Transport driver. | |
Swift_SendmailTransport | createSesDriver() Create an instance of the Amazon SES Swift Transport driver. | |
Swift_MailTransport | createMailDriver() Create an instance of the Mail Swift Transport driver. | |
MailgunTransport | createMailgunDriver() Create an instance of the Mailgun Swift Transport driver. | |
MandrillTransport | createMandrillDriver() Create an instance of the Mandrill Swift Transport driver. | |
LogTransport | createLogDriver() Create an instance of the Log Swift Transport driver. | |
void | setDefaultDriver(string $name) Set the default cache driver name. |
Details
void __construct(Application $app)
Create a new manager instance.
string getDefaultDriver()
Get the default cache driver name.
mixed driver(string $driver = null)
Get a driver instance.
protected mixed createDriver(string $driver)
Create a new driver instance.
protected mixed callCustomCreator(string $driver)
Call a custom driver creator.
$this extend(string $driver, Closure $callback)
Register a custom driver creator Closure.
array getDrivers()
Get all of the created "drivers".
mixed __call(string $method, array $parameters)
Dynamically call the default driver instance.
protected Swift_SmtpTransport createSmtpDriver()
Create an instance of the SMTP Swift Transport driver.
protected Swift_SendmailTransport createSendmailDriver()
Create an instance of the Sendmail Swift Transport driver.
protected Swift_SendmailTransport createSesDriver()
Create an instance of the Amazon SES Swift Transport driver.
protected Swift_MailTransport createMailDriver()
Create an instance of the Mail Swift Transport driver.
protected MailgunTransport createMailgunDriver()
Create an instance of the Mailgun Swift Transport driver.
protected MandrillTransport createMandrillDriver()
Create an instance of the Mandrill Swift Transport driver.
protected LogTransport createLogDriver()
Create an instance of the Log Swift Transport driver.
void setDefaultDriver(string $name)
Set the default cache driver name.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Mail/TransportManager.html