class Mail implements ExtenderInterface

Methods

driver(string $identifier, string $driver)

Add a mail driver.

extend(Container $container, Extension $extension = null)

No description

Details

driver(string $identifier, string $driver)

Add a mail driver.

Parameters

string $identifier Identifier for mail driver. E.g. 'smtp' for SmtpDriver
string $driver ::class attribute of driver class, which must implement Flarum\Mail\DriverInterface

extend(Container $container, Extension $extension = null)

Parameters

Container $container
Extension $extension