class TasksController extends Controller

Class TasksController

Descripció de la classe.(Opcional) Pots usar format HTMl per desprès al generar la documentació.

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Methods

__construct(Transformer $transformer, TaskRepository $repository)

TasksController constructor.

Response
index()

Display a listing of the resource.

Response
create()

Show the form for creating a new resource.

Response
store(Request $request)

Store a newly created resource in storage.

Response
show(int $id)

Display the specified resource.

Response
edit(int $id)

Show the form for editing the specified resource.

Response
update(Request $request)

Update the specified resource in storage.

Response
destroy(int $id)

Remove the specified resource from storage.

Details

at line line 33
__construct(Transformer $transformer, TaskRepository $repository)

TasksController constructor.

Parameters

Transformer $transformer
TaskRepository $repository

at line line 46
Response index()

Display a listing of the resource.

Return Value

Response

at line line 66
Response create()

Show the form for creating a new resource.

Return Value

Response

at line line 77
Response store(Request $request)

Store a newly created resource in storage.

Parameters

Request $request

Return Value

Response

at line line 93
Response show(int $id)

Display the specified resource.

Parameters

int $id

Return Value

Response

at line line 112
Response edit(int $id)

Show the form for editing the specified resource.

Parameters

int $id

Return Value

Response

at line line 124
Response update(Request $request)

Update the specified resource in storage.

Parameters

Request $request

Return Value

Response

at line line 139
Response destroy(int $id)

Remove the specified resource from storage.

Parameters

int $id

Return Value

Response