1 | <?php |
||
12 | class GroupsController extends Controller |
||
13 | { |
||
14 | private $responder; |
||
15 | |||
16 | public function __create(ReponseCreator $responder) |
||
20 | |||
21 | /** |
||
22 | * Display a listing of the resource. |
||
23 | * |
||
24 | * @return \Illuminate\Http\Response |
||
25 | */ |
||
26 | public function index() |
||
30 | |||
31 | /** |
||
32 | * Show the form for creating a new resource. |
||
33 | * |
||
34 | * @return \Illuminate\Http\Response |
||
35 | */ |
||
36 | public function create() |
||
40 | |||
41 | /** |
||
42 | * Store a newly created resource in storage. |
||
43 | * |
||
44 | * @param \Illuminate\Http\Request $request |
||
45 | * @return \Illuminate\Http\Response |
||
46 | */ |
||
47 | public function store(Request $request) |
||
62 | |||
63 | /** |
||
64 | * Display the specified resource. |
||
65 | * |
||
66 | * @param int $id |
||
67 | * @return \Illuminate\Http\Response |
||
68 | */ |
||
69 | public function show($id) |
||
73 | |||
74 | /** |
||
75 | * Show the form for editing the specified resource. |
||
76 | * |
||
77 | * @param int $id |
||
78 | * @return \Illuminate\Http\Response |
||
79 | */ |
||
80 | public function edit($id) |
||
84 | |||
85 | /** |
||
86 | * Update the specified resource in storage. |
||
87 | * |
||
88 | * @param \Illuminate\Http\Request $request |
||
89 | * @param int $id |
||
90 | * @return \Illuminate\Http\Response |
||
91 | */ |
||
92 | public function update(Request $request, $id) |
||
114 | |||
115 | private function validateGroupUpdates($request) |
||
122 | |||
123 | private function respondOK() |
||
127 | |||
128 | /** |
||
129 | * Remove the specified resource from storage. |
||
130 | * |
||
131 | * @param int $id |
||
132 | * @return \Illuminate\Http\Response |
||
133 | */ |
||
134 | public function destroy($id) |
||
138 | } |
||
139 |