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