%PDF- %PDF-
Direktori : /home/silvzytp/crm-dub-code/vendor/laravel/framework/src/Illuminate/Routing/Console/stubs/ |
Current File : //home/silvzytp/crm-dub-code/vendor/laravel/framework/src/Illuminate/Routing/Console/stubs/controller.nested.singleton.stub |
<?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. * * @param \{{ namespacedParentModel }} ${{ parentModelVariable }} * @return \Illuminate\Http\Response */ public function create({{ parentModel }} ${{ parentModelVariable }}) { abort(404); } /** * Store the newly created resource in storage. * * @param \Illuminate\Http\Request $request * @param \{{ namespacedParentModel }} ${{ parentModelVariable }} * @return \Illuminate\Http\Response */ public function store(Request $request, {{ parentModel }} ${{ parentModelVariable }}) { abort(404); } /** * Display the resource. * * @param \{{ namespacedParentModel }} ${{ parentModelVariable }} * @return \Illuminate\Http\Response */ public function show({{ parentModel }} ${{ parentModelVariable }}) { // } /** * Show the form for editing the resource. * * @param \{{ namespacedParentModel }} ${{ parentModelVariable }} * @return \Illuminate\Http\Response */ public function edit({{ parentModel }} ${{ parentModelVariable }}) { // } /** * Update the resource in storage. * * @param \Illuminate\Http\Request $request * @param \{{ namespacedParentModel }} ${{ parentModelVariable }} * @return \Illuminate\Http\Response */ public function update(Request $request, {{ parentModel }} ${{ parentModelVariable }}) { // } /** * Remove the resource from storage. * * @param \{{ namespacedParentModel }} ${{ parentModelVariable }} * @return \Illuminate\Http\Response */ public function destroy({{ parentModel }} ${{ parentModelVariable }}) { abort(404); } }