mirror of
https://github.com/flarum/core.git
synced 2025-10-19 10:46:06 +02:00
30 lines
579 B
PHP
30 lines
579 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\Notification;
|
|
|
|
interface MailableInterface
|
|
{
|
|
/**
|
|
* Get the name of the view to construct a notification email with.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getEmailView();
|
|
|
|
/**
|
|
* Get the subject line for a notification email.
|
|
*
|
|
* @return string
|
|
*/
|
|
public function getEmailSubject();
|
|
}
|