1 | <?php |
||
8 | class NotificationsController extends BaseApiController |
||
9 | { |
||
10 | /** |
||
11 | * The name of the model that is used by the base api controller |
||
12 | * to preform actions like (add, edit ... etc). |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $model = 'notifications'; |
||
16 | |||
17 | /** |
||
18 | * Set the notification notified to true. |
||
19 | * |
||
20 | * @param integer $id |
||
21 | * @return \Illuminate\Http\Response |
||
22 | */ |
||
23 | public function getNotified($id) |
||
27 | |||
28 | /** |
||
29 | * Set the notification notified to all. |
||
30 | * |
||
31 | * @return \Illuminate\Http\Response |
||
32 | */ |
||
33 | public function getNotifyall() |
||
37 | } |
||
38 |