class Mail implements ExtenderInterface

Methods

driver(string $identifier, string $driver)

<p>Add a mail driver.</p>

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

No description

Details

driver(string $identifier, string $driver)

<p>Add a mail driver.</p>

Parameters

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

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

Parameters

Container $container
Extension $extension