1 | <?php |
||
10 | class SendMailEvent extends AbstractEvent |
||
11 | { |
||
12 | |||
13 | const TYPE = 'email.send'; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $recipient; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $subject; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | private $body; |
||
29 | |||
30 | /** |
||
31 | * @param string $recipient |
||
32 | * @param string $subject |
||
33 | * @param string $body |
||
34 | */ |
||
35 | public function __construct($recipient, $subject, $body) |
||
43 | |||
44 | /** |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getRecipient() |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getSubject() |
||
59 | |||
60 | /** |
||
61 | * @return string |
||
62 | */ |
||
63 | public function getBody() |
||
67 | } |
||
68 |