1: <?php
2:
3: /**
4: * Avisota newsletter and mailing system
5: *
6: * PHP Version 5.3
7: *
8: * @copyright bit3 UG 2013
9: * @author Tristan Lins <tristan.lins@bit3.de>
10: * @package avisota-core
11: * @license LGPL-3.0+
12: * @link http://avisota.org
13: */
14:
15: namespace Avisota\Message;
16:
17: /**
18: * The basic message interface.
19: *
20: * @package avisota-core
21: */
22: interface MessageInterface extends \Serializable
23: {
24: /**
25: * @return array
26: */
27: public function getRecipients();
28:
29: /**
30: * @return array
31: */
32: public function getCopyRecipients();
33:
34: /**
35: * @return array
36: */
37: public function getBlindCopyRecipients();
38:
39: /**
40: * @return string
41: */
42: public function getFrom();
43:
44: /**
45: * @return string
46: */
47: public function getSender();
48:
49: /**
50: * @return string
51: */
52: public function getReplyTo();
53:
54: /**
55: * @return string
56: */
57: public function getSubject();
58: }