| 1 | <?php |
||
| 16 | class Notification |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $payload; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var \ArrayIterator |
||
| 25 | */ |
||
| 26 | protected $recipients; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var MessageInterface |
||
| 30 | */ |
||
| 31 | protected $message; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return string |
||
| 35 | */ |
||
| 36 | public function getPayload() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $payload |
||
| 43 | * @return $this |
||
| 44 | */ |
||
| 45 | public function setPayload($payload) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return \ArrayIterator |
||
| 53 | */ |
||
| 54 | public function getRecipients() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @param \ArrayIterator $recipients |
||
| 61 | * @return $this |
||
| 62 | */ |
||
| 63 | public function setRecipients($recipients) |
||
| 68 | |||
| 69 | /** |
||
| 70 | * @return MessageInterface |
||
| 71 | */ |
||
| 72 | public function getMessage() |
||
| 76 | |||
| 77 | /** |
||
| 78 | * @param MessageInterface $message |
||
| 79 | * @return $this |
||
| 80 | */ |
||
| 81 | public function setMessage(MessageInterface $message) |
||
| 86 | } |
||
| 87 |