1
0
mirror of https://github.com/flarum/core.git synced 2025-10-14 00:15:51 +02:00
Files
php-flarum/src/Mail/DriverInterface.php
Franz Liedke 441ebacfd7 Apply fixes from StyleCI (#1760)
[ci skip] [skip ci]
2019-03-13 21:32:18 +01:00

32 lines
729 B
PHP

<?php
/*
* This file is part of Flarum.
*
* (c) Toby Zerner <toby.zerner@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Flarum\Mail;
use Flarum\Settings\SettingsRepositoryInterface;
use Swift_Transport;
/**
* An interface for a mail service.
*
* This interface provides all methods necessary for configuring, checking and
* using one of Laravel's various email drivers throughout Flarum.
*
* @public
*/
interface DriverInterface
{
/**
* Build a mail transport based on Flarum's current settings.
*/
public function buildTransport(SettingsRepositoryInterface $settings): Swift_Transport;
}