Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 1246 | Revision 1261 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1245 lars 1
<?php
2
 
1246 lars 3
    namespace App\Http\Controllers;
1245 lars 4
 
1246 lars 5
    use App\Models\BackendUser;
1249 lars 6
    use Illuminate\Contracts\Foundation\Application;
7
    use Illuminate\Contracts\View\Factory;
8
    use Illuminate\Contracts\View\View;
1246 lars 9
    use Illuminate\Http\Request;
1245 lars 10
 
1246 lars 11
    class BackendUserController extends Controller
1245 lars 12
    {
1246 lars 13
        /**
14
         * Display a listing of the resource.
15
         *
16
         */
1249 lars 17
        public function index(): Factory|View|Application
1246 lars 18
        {
19
            //
20
            $bu = BackendUser::get();
21
            return view( 'admin/backend_users', [ "users" => $bu, ] );
22
        }
1245 lars 23
 
1246 lars 24
        /**
25
         * Show the form for creating a new resource.
26
         *
27
         * @return \Illuminate\Http\Response
28
         */
29
        public function create()
30
        {
31
            //
32
        }
1245 lars 33
 
1246 lars 34
        /**
35
         * Store a newly created resource in storage.
36
         *
37
         * @param \Illuminate\Http\Request $request
38
         * @return \Illuminate\Http\Response
39
         */
40
        public function store( Request $request )
41
        {
42
            //
43
        }
1245 lars 44
 
1246 lars 45
        /**
46
         * Display the specified resource.
47
         *
48
         * @param int $id
49
         * @return \Illuminate\Http\Response
50
         */
51
        public function show( $id )
52
        {
53
            //
54
        }
1245 lars 55
 
1246 lars 56
        /**
57
         * Show the form for editing the specified resource.
58
         *
59
         * @param int $id
60
         * @return \Illuminate\Http\Response
61
         */
62
        public function edit( $id )
63
        {
64
            //
65
        }
1245 lars 66
 
1246 lars 67
        /**
68
         * Update the specified resource in storage.
69
         *
70
         * @param \Illuminate\Http\Request $request
71
         * @param int $id
72
         * @return \Illuminate\Http\Response
73
         */
74
        public function update( Request $request, $id )
75
        {
76
            //
77
        }
1245 lars 78
 
1246 lars 79
        /**
80
         * Remove the specified resource from storage.
81
         *
82
         * @param int $id
83
         * @return \Illuminate\Http\Response
84
         */
85
        public function destroy( $id )
86
        {
87
            //
88
        }
1245 lars 89
    }