1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/* |
4
|
|
|
* This file is part of Gitamin. |
5
|
|
|
* |
6
|
|
|
* Copyright (C) 2015-2016 The Gitamin Team |
7
|
|
|
* |
8
|
|
|
* For the full copyright and license information, please view the LICENSE |
9
|
|
|
* file that was distributed with this source code. |
10
|
|
|
*/ |
11
|
|
|
|
12
|
|
|
namespace Gitamin\Http\Controllers\Admin; |
13
|
|
|
|
14
|
|
|
use Illuminate\Http\Request; |
15
|
|
|
|
16
|
|
|
use Gitamin\Http\Requests; |
17
|
|
|
use Gitamin\Http\Controllers\Controller; |
18
|
|
|
|
19
|
|
|
class DashboardController extends Controller |
20
|
|
|
{ |
21
|
|
|
/** |
22
|
|
|
* Display a listing of the resource. |
23
|
|
|
* |
24
|
|
|
* @return \Illuminate\Http\Response |
25
|
|
|
*/ |
26
|
|
|
public function index() |
27
|
|
|
{ |
28
|
|
|
// |
29
|
|
|
echo "admin index"; |
30
|
|
|
} |
31
|
|
|
|
32
|
|
|
/** |
33
|
|
|
* Show the form for creating a new resource. |
34
|
|
|
* |
35
|
|
|
* @return \Illuminate\Http\Response |
36
|
|
|
*/ |
37
|
|
|
public function create() |
38
|
|
|
{ |
39
|
|
|
// |
40
|
|
|
} |
41
|
|
|
|
42
|
|
|
/** |
43
|
|
|
* Store a newly created resource in storage. |
44
|
|
|
* |
45
|
|
|
* @param \Illuminate\Http\Request $request |
46
|
|
|
* @return \Illuminate\Http\Response |
47
|
|
|
*/ |
48
|
|
|
public function store(Request $request) |
|
|
|
|
49
|
|
|
{ |
50
|
|
|
// |
51
|
|
|
} |
52
|
|
|
|
53
|
|
|
/** |
54
|
|
|
* Display the specified resource. |
55
|
|
|
* |
56
|
|
|
* @param int $id |
57
|
|
|
* @return \Illuminate\Http\Response |
58
|
|
|
*/ |
59
|
|
|
public function show($id) |
|
|
|
|
60
|
|
|
{ |
61
|
|
|
// |
62
|
|
|
} |
63
|
|
|
|
64
|
|
|
/** |
65
|
|
|
* Show the form for editing the specified resource. |
66
|
|
|
* |
67
|
|
|
* @param int $id |
68
|
|
|
* @return \Illuminate\Http\Response |
69
|
|
|
*/ |
70
|
|
|
public function edit($id) |
|
|
|
|
71
|
|
|
{ |
72
|
|
|
// |
73
|
|
|
} |
74
|
|
|
|
75
|
|
|
/** |
76
|
|
|
* Update the specified resource in storage. |
77
|
|
|
* |
78
|
|
|
* @param \Illuminate\Http\Request $request |
79
|
|
|
* @param int $id |
80
|
|
|
* @return \Illuminate\Http\Response |
81
|
|
|
*/ |
82
|
|
|
public function update(Request $request, $id) |
|
|
|
|
83
|
|
|
{ |
84
|
|
|
// |
85
|
|
|
} |
86
|
|
|
|
87
|
|
|
/** |
88
|
|
|
* Remove the specified resource from storage. |
89
|
|
|
* |
90
|
|
|
* @param int $id |
91
|
|
|
* @return \Illuminate\Http\Response |
92
|
|
|
*/ |
93
|
|
|
public function destroy($id) |
|
|
|
|
94
|
|
|
{ |
95
|
|
|
// |
96
|
|
|
} |
97
|
|
|
} |
98
|
|
|
|
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.