HEAD ======= >>>>>>> release-0.2.0
1 <?php
2 /**
3 * Copyright 2012 Native5. All Rights Reserved
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * You may not use this file except in compliance with the License.
7 *
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS,
10 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 * See the License for the specific language governing permissions and
12 * limitations under the License.
13 * PHP version 5.3+
14 *
15 * @category Messaging
16 * @package Native5\<package>
17 * @author Barada Sahu <barry@native5.com>
18 * @copyright 2012 Native5. All Rights Reserved
19 * @license See attached LICENSE for details
20 * @version GIT: $gitid$
21 * @link http://www.docs.native5.com
22 */
23
24 namespace Native5\Services\Messaging;
25
26 /**
27 * Message
28 *
29 * @category Notifications
30 * @package Native5\Services\Messaging
31 * @author Barada Sahu <barry@native5.com>
32 * @copyright 2012 Native5. All Rights Reserved
33 * @license See attached NOTICE.md for details
34 * @version Release: 1.0
35 * @link http://www.docs.native5.com
36 * Created : 27-11-2012
37 * Last Modified : Fri Dec 21 09:11:53 2012
38 */
39 interface Message
40 {
41
42
43 /**
44 * getID
45 *
46 * @access public
47 * @return void
48 */
49 public function getID();
50
51
52 /**
53 * setSubject
54 *
55 * @param mixed $subj Subject.
56 *
57 * @access public
58 * @return void
59 */
60 public function setSubject($subj);
61
62
63 /**
64 * getSubject
65 *
66 * @access public
67 * @return void
68 */
69 public function getSubject();
70
71
72 /**
73 * setBody
74 *
75 * @param mixed $body Body of the message.
76 *
77 * @access public
78 * @return void
79 */
80 public function setBody($body);
81
82
83 /**
84 * getBody
85 *
86 * @access public
87 * @return void
88 */
89 public function getBody();
90
91
92 /**
93 * setRecipients
94 *
95 * @param mixed $recipients Message receipients
96 *
97 * @access public
98 * @return void
99 */
100 public function setRecipients($recipients);
101
102
103 /**
104 * getRecipients
105 *
106 * @access public
107 * @return void
108 */
109 public function getRecipients();
110
111
112 }//end interface
113
114 ?>
115