<?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 }}) { // } }