akaunting/app/Console/Stubs/Modules/controller.stub

81 lines
1.5 KiB
Plaintext
Raw Normal View History

2017-09-14 22:21:00 +03:00
<?php
namespace $CLASS_NAMESPACE$;
2020-02-07 16:58:10 +03:00
use App\Abstracts\Http\Controller;
use App\Abstracts\Http\FormRequest;
2017-09-14 22:21:00 +03:00
use Illuminate\Http\Request;
use Illuminate\Http\Response;
class $CLASS$ extends Controller
{
/**
* Display a listing of the resource.
* @return Response
*/
public function index()
{
2019-11-16 10:21:14 +03:00
return view('$ALIAS$::index');
2017-09-14 22:21:00 +03:00
}
/**
* Show the form for creating a new resource.
* @return Response
*/
public function create()
{
2019-11-16 10:21:14 +03:00
return view('$ALIAS$::create');
2017-09-14 22:21:00 +03:00
}
/**
* Store a newly created resource in storage.
2019-11-16 10:21:14 +03:00
* @param Request $request
2017-09-14 22:21:00 +03:00
* @return Response
*/
public function store(Request $request)
{
2019-11-16 10:21:14 +03:00
//
2017-09-14 22:21:00 +03:00
}
/**
* Show the specified resource.
2019-11-16 10:21:14 +03:00
* @param int $id
2017-09-14 22:21:00 +03:00
* @return Response
*/
2019-11-16 10:21:14 +03:00
public function show($id)
2017-09-14 22:21:00 +03:00
{
2019-11-16 10:21:14 +03:00
return view('$ALIAS$::show');
2017-09-14 22:21:00 +03:00
}
/**
* Show the form for editing the specified resource.
2019-11-16 10:21:14 +03:00
* @param int $id
2017-09-14 22:21:00 +03:00
* @return Response
*/
2019-11-16 10:21:14 +03:00
public function edit($id)
2017-09-14 22:21:00 +03:00
{
2019-11-16 10:21:14 +03:00
return view('$ALIAS$::edit');
2017-09-14 22:21:00 +03:00
}
/**
* Update the specified resource in storage.
2019-11-16 10:21:14 +03:00
* @param Request $request
* @param int $id
2017-09-14 22:21:00 +03:00
* @return Response
*/
2019-11-16 10:21:14 +03:00
public function update(Request $request, $id)
2017-09-14 22:21:00 +03:00
{
2019-11-16 10:21:14 +03:00
//
2017-09-14 22:21:00 +03:00
}
/**
* Remove the specified resource from storage.
2019-11-16 10:21:14 +03:00
* @param int $id
2017-09-14 22:21:00 +03:00
* @return Response
*/
2019-11-16 10:21:14 +03:00
public function destroy($id)
2017-09-14 22:21:00 +03:00
{
2019-11-16 10:21:14 +03:00
//
2017-09-14 22:21:00 +03:00
}
}