Вход Регистрация
Файл: src/vendor/way/generators/tests/stubs/OrdersController.txt
Строк: 49
<?php namespace App\Http\Controllers; use
Illuminate\Routing\Controller; class OrdersController extends Controller
{ /** * Display a listing of the resource. * GET /orders * *
@return Response */ public function index() { // } /** * Show
the form for creating a new resource. * GET /orders/create * *
@return Response */ public function create() { // } /** * Store
a newly created resource in storage. * POST /orders * * @return
Response */ public function store() { // } /** * Display the
specified resource. * GET /orders/{id} * * @param int $id *
@return Response */ public function show($id) { // } /** * Show
the form for editing the specified resource. * GET /orders/{id}/edit
* * @param int $id * @return Response */ public function
edit($id) { // } /** * Update the specified resource in storage.
* PUT /orders/{id} * * @param int $id * @return Response
*/ public function update($id) { // } /** * Remove the specified
resource from storage. * DELETE /orders/{id} * * @param int $id *
@return Response */ public function destroy($id) { // } }
Онлайн: 3
Реклама