mirror of
https://github.com/flarum/core.git
synced 2025-07-18 23:31:17 +02:00
@@ -15,7 +15,7 @@ use Flarum\Settings\SettingsRepositoryInterface;
|
|||||||
use Swift_Transport;
|
use Swift_Transport;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An interface for a mail service
|
* An interface for a mail service.
|
||||||
*
|
*
|
||||||
* This interface provides all methods necessary for configuring, checking and
|
* This interface provides all methods necessary for configuring, checking and
|
||||||
* using one of Laravel's various email drivers throughout Flarum.
|
* using one of Laravel's various email drivers throughout Flarum.
|
||||||
@@ -25,7 +25,7 @@ use Swift_Transport;
|
|||||||
interface DriverInterface
|
interface DriverInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Build a mail transport based on Flarum's current settings
|
* Build a mail transport based on Flarum's current settings.
|
||||||
*/
|
*/
|
||||||
public function buildTransport(SettingsRepositoryInterface $settings): Swift_Transport;
|
public function buildTransport(SettingsRepositoryInterface $settings): Swift_Transport;
|
||||||
}
|
}
|
||||||
|
@@ -12,7 +12,6 @@
|
|||||||
namespace Flarum\Mail;
|
namespace Flarum\Mail;
|
||||||
|
|
||||||
use Flarum\Settings\SettingsRepositoryInterface;
|
use Flarum\Settings\SettingsRepositoryInterface;
|
||||||
use Illuminate\Contracts\Support\MessageBag as MessageBagContract;
|
|
||||||
use Illuminate\Mail\Transport\LogTransport;
|
use Illuminate\Mail\Transport\LogTransport;
|
||||||
use Psr\Log\LoggerInterface;
|
use Psr\Log\LoggerInterface;
|
||||||
use Swift_Transport;
|
use Swift_Transport;
|
||||||
|
Reference in New Issue
Block a user