1 | <?php |
||
8 | class MailHookEvent extends Event implements HookEventInterface |
||
|
|||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $email; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $name; |
||
19 | |||
20 | /** |
||
21 | * @var array Direct metadata from the mail provider |
||
22 | */ |
||
23 | private $metaData; |
||
24 | |||
25 | /** |
||
26 | * @param string $email |
||
27 | * @param string $name |
||
28 | * @param array $metaData |
||
29 | */ |
||
30 | public function __construct($email = null, $name = null, array $metaData = array()) |
||
36 | |||
37 | /** |
||
38 | * Gets the value of email. |
||
39 | * |
||
40 | * @return string |
||
41 | */ |
||
42 | public function getEmail() |
||
46 | |||
47 | /** |
||
48 | * Sets the value of email. |
||
49 | * |
||
50 | * @param string $email the email |
||
51 | * |
||
52 | * @return this |
||
53 | */ |
||
54 | public function setEmail($email) |
||
60 | |||
61 | /** |
||
62 | * Gets the value of name. |
||
63 | * |
||
64 | * @return string |
||
65 | */ |
||
66 | public function getName() |
||
70 | |||
71 | /** |
||
72 | * Sets the value of name. |
||
73 | * |
||
74 | * @param string $name the name |
||
75 | * |
||
76 | * @return this |
||
77 | */ |
||
78 | public function setName($name) |
||
84 | |||
85 | /** |
||
86 | * Gets the value of metaData. |
||
87 | * |
||
88 | * @return array |
||
89 | */ |
||
90 | public function getMetaData() |
||
94 | |||
95 | /** |
||
96 | * Sets the value of metaData. |
||
97 | * |
||
98 | * @param array $metaData the meta data |
||
99 | * |
||
100 | * @return this |
||
101 | */ |
||
102 | public function setMetaData(array $metaData = array()) |
||
108 | } |
||
109 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.