File manager - Edit - /home/autoph/public_html/projects/vendor/laravel/framework/src/Illuminate/Routing/Console/stubs/controller.nested.singleton.stub
Back
<?php namespace {{ namespace }}; use {{ namespacedModel }}; use {{ rootNamespace }}Http\Controllers\Controller; use Illuminate\Http\Request; use {{ namespacedParentModel }}; class {{ class }} extends Controller { /** * Show the form for creating the new resource. */ public function create({{ parentModel }} ${{ parentModelVariable }}): never { abort(404); } /** * Store the newly created resource in storage. */ public function store(Request $request, {{ parentModel }} ${{ parentModelVariable }}): never { abort(404); } /** * Display the resource. */ public function show({{ parentModel }} ${{ parentModelVariable }}) { // } /** * Show the form for editing the resource. */ public function edit({{ parentModel }} ${{ parentModelVariable }}) { // } /** * Update the resource in storage. */ public function update(Request $request, {{ parentModel }} ${{ parentModelVariable }}) { // } /** * Remove the resource from storage. */ public function destroy({{ parentModel }} ${{ parentModelVariable }}): never { abort(404); } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings