PaketController
extends Controller
in package
Class PaketController
Handles HTTP requests for Paket management.
Table of Contents
Properties
Methods
- __construct() : mixed
- PaketController constructor.
- create() : Response
- Show the form for creating a new resource.
- destroy() : mixed
- Remove the specified resource from storage.
- edit() : mixed
- Show the form for editing the specified resource.
- index() : Response
- Display a listing of the resource.
- show() : mixed
- Show the specified resource.
- store() : mixed
- Store a newly created resource in storage.
- update() : mixed
- Update the specified resource in storage.
Properties
$paketService
private
PaketService
$paketService
Methods
__construct()
PaketController constructor.
public
__construct(PaketService $paketService) : mixed
Parameters
- $paketService : PaketService
-
The service for managing Paket.
create()
Show the form for creating a new resource.
public
create() : Response
Return values
Response —The response containing the form for creating a Paket.
destroy()
Remove the specified resource from storage.
public
destroy(mixed $id) : mixed
Parameters
- $id : mixed
edit()
Show the form for editing the specified resource.
public
edit(mixed $id) : mixed
Parameters
- $id : mixed
index()
Display a listing of the resource.
public
index(Request $request) : Response
Parameters
- $request : Request
-
The HTTP request instance.
Return values
Response —The response containing the list of Paket.
show()
Show the specified resource.
public
show(mixed $id) : mixed
Parameters
- $id : mixed
store()
Store a newly created resource in storage.
public
store(StorePaketRequest $request) : mixed
Parameters
- $request : StorePaketRequest
update()
Update the specified resource in storage.
public
update(UpdatePaketRequest $request, mixed $id) : mixed
Parameters
- $request : UpdatePaketRequest
- $id : mixed