%PDF- %PDF-
Direktori : /home/silvzytp/crm-ind-code/vendor/laravel/framework/src/Illuminate/Routing/Console/stubs/ |
Current File : //home/silvzytp/crm-ind-code/vendor/laravel/framework/src/Illuminate/Routing/Console/stubs/controller.model.api.stub |
<?php namespace {{ namespace }}; use {{ namespacedModel }}; use {{ rootNamespace }}Http\Controllers\Controller; use {{ namespacedRequests }} class {{ class }} extends Controller { /** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // } /** * Store a newly created resource in storage. * * @param \{{ namespacedStoreRequest }} $request * @return \Illuminate\Http\Response */ public function store({{ storeRequest }} $request) { // } /** * Display the specified resource. * * @param \{{ namespacedModel }} ${{ modelVariable }} * @return \Illuminate\Http\Response */ public function show({{ model }} ${{ modelVariable }}) { // } /** * Update the specified resource in storage. * * @param \{{ namespacedUpdateRequest }} $request * @param \{{ namespacedModel }} ${{ modelVariable }} * @return \Illuminate\Http\Response */ public function update({{ updateRequest }} $request, {{ model }} ${{ modelVariable }}) { // } /** * Remove the specified resource from storage. * * @param \{{ namespacedModel }} ${{ modelVariable }} * @return \Illuminate\Http\Response */ public function destroy({{ model }} ${{ modelVariable }}) { // } }