1 | <?php |
||
20 | class NotificationEvent extends AbstractBootstrapEvent { |
||
21 | |||
22 | /** |
||
23 | * Notification. |
||
24 | * |
||
25 | * @var string |
||
26 | */ |
||
27 | private $notification; |
||
28 | |||
29 | /** |
||
30 | * Type. |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | private $type; |
||
35 | |||
36 | /** |
||
37 | * Constructor. |
||
38 | * |
||
39 | * @param string $eventName The event name. |
||
40 | * @param string $notification The notification. |
||
41 | * @param string $type The notification type. |
||
42 | */ |
||
43 | public function __construct($eventName, $notification, $type) { |
||
48 | |||
49 | /** |
||
50 | * Get the notification. |
||
51 | * |
||
52 | * @return string Returns the notification. |
||
53 | */ |
||
54 | public function getNotification() { |
||
57 | |||
58 | /** |
||
59 | * Get the type. |
||
60 | * |
||
61 | * @return string Returns the type. |
||
62 | */ |
||
63 | public function getType() { |
||
66 | |||
67 | /** |
||
68 | * Set the notification. |
||
69 | * |
||
70 | * @param string $notification The notification. |
||
71 | * @return NotificationEvent Returns this notification event. |
||
72 | */ |
||
73 | protected function setNotification($notification) { |
||
77 | |||
78 | /** |
||
79 | * Set the type. |
||
80 | * |
||
81 | * @param string $type The type. |
||
82 | * @return NotificationEvent Returns this notification event. |
||
83 | */ |
||
84 | protected function setType($type) { |
||
88 | |||
89 | } |
||
90 |