class ProvidersController extends Controller

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Properties

protected ProviderRepository $repository
protected ProviderValidator $validator

Methods

__construct(ProviderRepository $repository, ProviderValidator $validator)

No description

Response
index()

Display a listing of the resource.

Response
store(ProviderCreateRequest $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(ProviderUpdateRequest $request, string $id)

Update the specified resource in storage.

Response
destroy(int $id)

Remove the specified resource from storage.

search(Request $request)

No description

Details

at line 23
__construct(ProviderRepository $repository, ProviderValidator $validator)

Parameters

ProviderRepository $repository
ProviderValidator $validator

at line 34
Response index()

Display a listing of the resource.

Return Value

Response

at line 59
Response store(ProviderCreateRequest $request)

Store a newly created resource in storage.

Parameters

ProviderCreateRequest $request

Return Value

Response

at line 71
Response show(int $id)

Display the specified resource.

Parameters

int $id

Return Value

Response

at line 92
Response edit(int $id)

Show the form for editing the specified resource.

Parameters

int $id

Return Value

Response

at line 111
Response update(ProviderUpdateRequest $request, string $id)

Update the specified resource in storage.

Parameters

ProviderUpdateRequest $request
string $id

Return Value

Response

at line 137
Response destroy(int $id)

Remove the specified resource from storage.

Parameters

int $id

Return Value

Response

Parameters

Request $request