1 | <?php |
||
18 | class Notification |
||
19 | { |
||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $payload; |
||
24 | |||
25 | /** |
||
26 | * @var \ArrayIterator |
||
27 | */ |
||
28 | protected $recipients; |
||
29 | |||
30 | /** |
||
31 | * @var MessageInterface |
||
32 | */ |
||
33 | protected $message; |
||
34 | |||
35 | /** |
||
36 | * @return string |
||
37 | */ |
||
38 | public function getPayload() |
||
42 | |||
43 | /** |
||
44 | * @param string $payload |
||
45 | * @return $this |
||
46 | */ |
||
47 | public function setPayload($payload) |
||
52 | |||
53 | /** |
||
54 | * @return \ArrayIterator |
||
55 | */ |
||
56 | public function getRecipients() |
||
60 | |||
61 | /** |
||
62 | * @param \ArrayIterator $recipients |
||
63 | * @return $this |
||
64 | */ |
||
65 | public function setRecipients($recipients) |
||
70 | |||
71 | /** |
||
72 | * @return MessageInterface |
||
73 | */ |
||
74 | public function getMessage() |
||
78 | |||
79 | /** |
||
80 | * @param MessageInterface $message |
||
81 | * @return $this |
||
82 | */ |
||
83 | public function setMessage(MessageInterface $message) |
||
88 | } |
||
89 |