DocumentController
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.
mixed
destroyDocumentContent(Request $request)
No description
Details
at line 35
__construct(GitRepoInterface $GitRepoService, FlysystemManager $flysystem, LaudatioUtilsInterface $laudatioUtils, ElasticsearchInterface $elasticService)
DocumentController constructor.
at line 48
Response
index()
Display a listing of the resource.
at line 58
Response
create()
Show the form for creating a new resource.
at line 69
Response
store(Request $request)
Store a newly created resource in storage.
at line 80
Response
show(Document $document)
Display the specified resource.
at line 91
Response
edit(Document $document)
Show the form for editing the specified resource.
at line 103
Response
update(Request $request, Document $document)
Update the specified resource in storage.
at line 114
Response
destroy(Document $document)
Remove the specified resource from storage.