Brak opisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

controller.api.stub 1.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. namespace {{ namespace }};
  3. use {{ rootNamespace }}Http\Controllers\Controller;
  4. use Illuminate\Http\Request;
  5. class {{ class }} extends Controller
  6. {
  7. /**
  8. * Display a listing of the resource.
  9. *
  10. * @return \Illuminate\Http\Response
  11. */
  12. public function index()
  13. {
  14. //
  15. }
  16. /**
  17. * Store a newly created resource in storage.
  18. *
  19. * @param \Illuminate\Http\Request $request
  20. * @return \Illuminate\Http\Response
  21. */
  22. public function store(Request $request)
  23. {
  24. //
  25. }
  26. /**
  27. * Display the specified resource.
  28. *
  29. * @param int $id
  30. * @return \Illuminate\Http\Response
  31. */
  32. public function show($id)
  33. {
  34. //
  35. }
  36. /**
  37. * Update the specified resource in storage.
  38. *
  39. * @param \Illuminate\Http\Request $request
  40. * @param int $id
  41. * @return \Illuminate\Http\Response
  42. */
  43. public function update(Request $request, $id)
  44. {
  45. //
  46. }
  47. /**
  48. * Remove the specified resource from storage.
  49. *
  50. * @param int $id
  51. * @return \Illuminate\Http\Response
  52. */
  53. public function destroy($id)
  54. {
  55. //
  56. }
  57. }