87 lines
1.8 KiB
PHP
87 lines
1.8 KiB
PHP
|
<?php
|
||
|
|
||
|
namespace App\Http\Controllers;
|
||
|
|
||
|
use App\Http\Requests\StoreCategoryRequest;
|
||
|
use App\Http\Requests\UpdateCategoryRequest;
|
||
|
use App\Models\Category;
|
||
|
|
||
|
class CategoryController extends Controller
|
||
|
{
|
||
|
/**
|
||
|
* Display a listing of the resource.
|
||
|
*
|
||
|
* @return \Illuminate\Http\Response
|
||
|
*/
|
||
|
public function index()
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Show the form for creating a new resource.
|
||
|
*
|
||
|
* @return \Illuminate\Http\Response
|
||
|
*/
|
||
|
public function create()
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Store a newly created resource in storage.
|
||
|
*
|
||
|
* @param \App\Http\Requests\StoreCategoryRequest $request
|
||
|
* @return \Illuminate\Http\Response
|
||
|
*/
|
||
|
public function store(StoreCategoryRequest $request)
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Display the specified resource.
|
||
|
*
|
||
|
* @param \App\Models\Category $category
|
||
|
* @return \Illuminate\Http\Response
|
||
|
*/
|
||
|
public function show(Category $category)
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Show the form for editing the specified resource.
|
||
|
*
|
||
|
* @param \App\Models\Category $category
|
||
|
* @return \Illuminate\Http\Response
|
||
|
*/
|
||
|
public function edit(Category $category)
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Update the specified resource in storage.
|
||
|
*
|
||
|
* @param \App\Http\Requests\UpdateCategoryRequest $request
|
||
|
* @param \App\Models\Category $category
|
||
|
* @return \Illuminate\Http\Response
|
||
|
*/
|
||
|
public function update(UpdateCategoryRequest $request, Category $category)
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Remove the specified resource from storage.
|
||
|
*
|
||
|
* @param \App\Models\Category $category
|
||
|
* @return \Illuminate\Http\Response
|
||
|
*/
|
||
|
public function destroy(Category $category)
|
||
|
{
|
||
|
//
|
||
|
}
|
||
|
}
|