phpvms/resources/stubs/modules/controller-admin.stub
2018-03-19 20:50:40 -05:00

67 lines
1.2 KiB
Plaintext

<?php
namespace $MODULE_NAMESPACE$\$STUDLY_NAME$\Http\Controllers\Admin;
use App\Interfaces\Controller;
use Illuminate\Http\Request;
/**
* Class AdminController
* @package $MODULE_NAMESPACE$\$STUDLY_NAME$\Http\Controllers\Admin
*/
class AdminController extends Controller
{
/**
* Display a listing of the resource.
*/
public function index()
{
return view('$LOWER_NAME$::admin.index');
}
/**
* Show the form for creating a new resource.
*/
public function create()
{
return view('$LOWER_NAME$::admin.create');
}
/**
* Store a newly created resource in storage.
*/
public function store(Request $request)
{
}
/**
* Show the specified resource.
*/
public function show()
{
return view('$LOWER_NAME$::admin.show');
}
/**
* Show the form for editing the specified resource.
*/
public function edit()
{
return view('$LOWER_NAME$::admin.edit');
}
/**
* Update the specified resource in storage.
*/
public function update(Request $request)
{
}
/**
* Remove the specified resource from storage.
*/
public function destroy()
{
}
}