1 | <?php |
||
20 | class Notifications implements ModelInterface |
||
21 | { |
||
22 | private $url; |
||
23 | |||
24 | private $events; |
||
25 | |||
26 | public function getUrl() |
||
30 | |||
31 | public function setUrl($url) |
||
35 | |||
36 | public function addNotificationEvent(NotificationEvent $event) |
||
40 | |||
41 | public function removeNotificationEvent(NotificationEvent $event) |
||
47 | |||
48 | public function hasNotificationEvent($eventName) |
||
55 | |||
56 | /** |
||
57 | * @param string $eventName |
||
58 | * |
||
59 | * @return NotificationEvent |
||
60 | * |
||
61 | * @throws \InvalidArgumentException |
||
62 | */ |
||
63 | public function getNotificationEvent($eventName) |
||
73 | } |
||
74 |