1 | <?php namespace Arcanesoft\Backups\Http\Controllers\Admin; |
||
14 | class StatusesController extends Controller |
||
15 | { |
||
16 | /* ----------------------------------------------------------------- |
||
17 | | Traits |
||
18 | | ----------------------------------------------------------------- |
||
19 | */ |
||
20 | |||
21 | use JsonResponses; |
||
22 | |||
23 | /* ----------------------------------------------------------------- |
||
24 | | Constructor |
||
25 | | ----------------------------------------------------------------- |
||
26 | */ |
||
27 | |||
28 | /** |
||
29 | * StatusesController constructor. |
||
30 | */ |
||
31 | public function __construct() |
||
38 | |||
39 | /* ----------------------------------------------------------------- |
||
40 | | Main Methods |
||
41 | | ----------------------------------------------------------------- |
||
42 | */ |
||
43 | |||
44 | public function index() |
||
55 | |||
56 | public function show($index) |
||
70 | |||
71 | public function backup() |
||
83 | |||
84 | public function clear() |
||
96 | |||
97 | /* ----------------------------------------------------------------- |
||
98 | | Other Methods |
||
99 | | ----------------------------------------------------------------- |
||
100 | */ |
||
101 | |||
102 | /** |
||
103 | * Notify with translation. |
||
104 | * |
||
105 | * @param string $action |
||
106 | * @param array $replace |
||
107 | * @param array $context |
||
108 | * |
||
109 | * @return string |
||
110 | */ |
||
111 | protected function transNotification($action, array $replace = [], array $context = []) |
||
121 | } |
||
122 |