class DocumentController extends Controller

Class DocumentController

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Properties

protected $GitRepoService
protected $LaudatioUtilService
protected $elasticService
protected $flysystem

Methods

__construct(GitRepoInterface $GitRepoService, FlysystemManager $flysystem, LaudatioUtilsInterface $laudatioUtils, ElasticsearchInterface $elasticService)

DocumentController 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(Document $document)

Display the specified resource.

Response
edit(Document $document)

Show the form for editing the specified resource.

Response
update(Request $request, Document $document)

Update the specified resource in storage.

Response
destroy(Document $document)

Remove the specified resource from storage.

mixed
destroyDocumentContent(Request $request)

No description

Details

at line 35
__construct(GitRepoInterface $GitRepoService, FlysystemManager $flysystem, LaudatioUtilsInterface $laudatioUtils, ElasticsearchInterface $elasticService)

DocumentController constructor.

Parameters

GitRepoInterface $GitRepoService
FlysystemManager $flysystem
LaudatioUtilsInterface $laudatioUtils
ElasticsearchInterface $elasticService

at line 48
Response index()

Display a listing of the resource.

Return Value

Response

at line 58
Response create()

Show the form for creating a new resource.

Return Value

Response

at line 69
Response store(Request $request)

Store a newly created resource in storage.

Parameters

Request $request

Return Value

Response

at line 80
Response show(Document $document)

Display the specified resource.

Parameters

Document $document

Return Value

Response

at line 91
Response edit(Document $document)

Show the form for editing the specified resource.

Parameters

Document $document

Return Value

Response

at line 103
Response update(Request $request, Document $document)

Update the specified resource in storage.

Parameters

Request $request
Document $document

Return Value

Response

at line 114
Response destroy(Document $document)

Remove the specified resource from storage.

Parameters

Document $document

Return Value

Response

at line 154
mixed destroyDocumentContent(Request $request)

Parameters

Request $request

Return Value

mixed