LaravelTest
64 строки · 1.0 Кб
1<?php
2
3namespace App\Http\Controllers;
4
5use Illuminate\Http\Request;
6
7class MainController extends Controller
8{
9/**
10* Display a listing of the resource.
11*/
12public function index()
13{
14return view('main.index');
15}
16
17/**
18* Show the form for creating a new resource.
19*/
20public function create()
21{
22//
23}
24
25/**
26* Store a newly created resource in storage.
27*/
28public function store(Request $request)
29{
30//
31}
32
33/**
34* Display the specified resource.
35*/
36public function show(string $id)
37{
38//
39}
40
41/**
42* Show the form for editing the specified resource.
43*/
44public function edit(string $id)
45{
46//
47}
48
49/**
50* Update the specified resource in storage.
51*/
52public function update(Request $request, string $id)
53{
54//
55}
56
57/**
58* Remove the specified resource from storage.
59*/
60public function destroy(string $id)
61{
62//
63}
64}