1 | <?php |
||
10 | class NotificationsController extends AdminBaseController |
||
11 | { |
||
12 | /** |
||
13 | * @var NotificationRepository |
||
14 | */ |
||
15 | private $notification; |
||
16 | /** |
||
17 | * @var Authentication |
||
18 | */ |
||
19 | private $auth; |
||
20 | |||
21 | public function __construct(NotificationRepository $notification, Authentication $auth) |
||
28 | |||
29 | public function index() |
||
35 | |||
36 | /** |
||
37 | * Remove the specified resource from storage. |
||
38 | * |
||
39 | * @param Notification $notification |
||
40 | * @return Response |
||
41 | */ |
||
42 | public function destroy(Notification $notification) |
||
49 | |||
50 | public function destroyAll() |
||
57 | |||
58 | public function markAllAsRead() |
||
65 | } |
||
66 |