1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
-
- namespace {{ namespace }};
-
- use {{ namespacedModel }};
- use {{ rootNamespace }}Http\Controllers\Controller;
- use Illuminate\Http\Request;
-
- class {{ class }} extends Controller
- {
-
-
- public function index()
- {
-
- }
-
-
-
- public function store(Request $request)
- {
-
- }
-
-
-
- public function show({{ model }} ${{ modelVariable }})
- {
-
- }
-
-
-
- public function update(Request $request, {{ model }} ${{ modelVariable }})
- {
-
- }
-
-
-
- public function destroy({{ model }} ${{ modelVariable }})
- {
-
- }
- }
|