1 | <?php |
||
22 | class VueOpdController extends Controller |
||
23 | { |
||
24 | /** |
||
25 | * Create a new controller instance. |
||
26 | * |
||
27 | * @return void |
||
|
|||
28 | */ |
||
29 | public function __construct(VueOpd $vue_opd) |
||
33 | |||
34 | /** |
||
35 | * Display a listing of the resource. |
||
36 | * |
||
37 | * @return \Illuminate\Http\Response |
||
38 | */ |
||
39 | public function index(Request $request) |
||
70 | |||
71 | /** |
||
72 | * Show the form for creating a new resource. |
||
73 | * |
||
74 | * @return \Illuminate\Http\Response |
||
75 | */ |
||
76 | public function create() |
||
80 | |||
81 | /** |
||
82 | * Display the specified resource. |
||
83 | * |
||
84 | * @param \App\VueOpd $vue_opd |
||
85 | * @return \Illuminate\Http\Response |
||
86 | */ |
||
87 | public function store(Request $request) |
||
91 | |||
92 | /** |
||
93 | * Store a newly created resource in storage. |
||
94 | * |
||
95 | * @param \Illuminate\Http\Request $request |
||
96 | * @return \Illuminate\Http\Response |
||
97 | */ |
||
98 | public function show($id) |
||
102 | |||
103 | /** |
||
104 | * Show the form for editing the specified resource. |
||
105 | * |
||
106 | * @param \App\VueOpd $vue_opd |
||
107 | * @return \Illuminate\Http\Response |
||
108 | */ |
||
109 | public function edit($id) |
||
113 | |||
114 | /** |
||
115 | * Update the specified resource in storage. |
||
116 | * |
||
117 | * @param \Illuminate\Http\Request $request |
||
118 | * @param \App\VueOpd $vue_opd |
||
119 | * @return \Illuminate\Http\Response |
||
120 | */ |
||
121 | public function update(Request $request, $id) |
||
125 | |||
126 | /** |
||
127 | * Remove the specified resource from storage. |
||
128 | * |
||
129 | * @param \App\VueOpd $vue_opd |
||
130 | * @return \Illuminate\Http\Response |
||
131 | */ |
||
132 | public function destroy($id) |
||
144 | } |
||
145 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.