1 | <?php |
||
8 | class ArrayTransport implements Transport |
||
9 | { |
||
10 | /** |
||
11 | * @var array |
||
12 | */ |
||
13 | private $new = []; |
||
14 | |||
15 | /** |
||
16 | * @var array |
||
17 | */ |
||
18 | private $current = []; |
||
19 | |||
20 | /** |
||
21 | * @param Notification $notification |
||
22 | * @return void |
||
23 | */ |
||
24 | 6 | public function send(Notification $notification) |
|
28 | |||
29 | /** |
||
30 | * @return array |
||
31 | */ |
||
32 | 3 | public function getNewNotifications() |
|
36 | |||
37 | /** |
||
38 | * @return array |
||
39 | */ |
||
40 | 3 | public function getCurrentNotifications() |
|
44 | } |
||
45 |