1 | <?php |
||
8 | class EmailTrafficStatistics |
||
9 | { |
||
10 | const SPAM_ALERT_SENT = 'spam_alert_sent'; |
||
11 | /** |
||
12 | * @var integer |
||
13 | */ |
||
14 | private $id; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $action; |
||
20 | |||
21 | /** |
||
22 | * @var \DateTime |
||
23 | */ |
||
24 | private $created; |
||
25 | |||
26 | /** |
||
27 | * Get id |
||
28 | * |
||
29 | * @return integer |
||
30 | */ |
||
31 | public function getId() |
||
35 | |||
36 | /** |
||
37 | * Set action |
||
38 | * |
||
39 | * @param string $action |
||
40 | * @return EmailTrafficStatistics |
||
41 | */ |
||
42 | public function setAction($action) |
||
48 | |||
49 | /** |
||
50 | * Get $action |
||
51 | * |
||
52 | * @return string |
||
53 | */ |
||
54 | public function getAction() |
||
58 | |||
59 | /** |
||
60 | * Set created |
||
61 | * |
||
62 | * @param \DateTime $created |
||
63 | * @return EmailTrafficStatistics |
||
64 | */ |
||
65 | public function setCreated($created) |
||
71 | |||
72 | /** |
||
73 | * Get created |
||
74 | * |
||
75 | * @return \DateTime |
||
76 | */ |
||
77 | public function getCreated() |
||
81 | } |