forked from jmwamser/WhiteOctoberSwiftMailerDBBundle
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathEmailInterface.php
45 lines (37 loc) · 819 Bytes
/
EmailInterface.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
namespace WhiteOctober\SwiftMailerDBBundle;
/**
* Interface EmailInterface
* @package WhiteOctober\SwiftMailerDBBundle
*/
interface EmailInterface
{
const STATUS_FAILED = -1;
const STATUS_READY = 1;
const STATUS_PROCESSING = 2;
const STATUS_COMPLETE = 3;
/**
* @return string
*/
public function getMessage();
/**
* @return string
*/
public function getStatus();
/**
* @return string
*/
public function getEnvironment();
/**
* @param $message string Serialized \Swift_Mime_SimpleMessage
*/
public function setMessage($message);
/**
* @param $status string
*/
public function setStatus($status);
/**
* @param $environment string
*/
public function setEnvironment($environment);
}