1 | <?php |
||
13 | class MassMessage implements MessageInterface |
||
14 | { |
||
15 | /** @var array */ |
||
16 | private $recipients = array(); |
||
17 | /** @var string */ |
||
18 | private $message; |
||
19 | |||
20 | /** |
||
21 | * MassMessage constructor. |
||
22 | * |
||
23 | * @param array $recipients |
||
24 | * @param string $message |
||
25 | */ |
||
26 | public function __construct($message, array $recipients = array()) |
||
31 | |||
32 | public function addRecipients($recipient) |
||
36 | |||
37 | public function getRecipient() |
||
41 | |||
42 | public function getMessage() |
||
46 | } |
||
47 |