%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.api.stub |
<?php namespace {{ namespace }}; use {{ namespacedModel }}; use {{ rootNamespace }}Http\Controllers\Controller; use Illuminate\Http\Request; use {{ namespacedParentModel }}; class {{ class }} extends Controller { /** * 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 }}) { // } /** * 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); } }