class AnnotationController extends Controller

Class AnnotationController

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Properties

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

Methods

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

AnnotationController 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(Annotation $annotation)

Display the specified resource.

Response
edit(Annotation $annotation)

Show the form for editing the specified resource.

Response
update(Request $request, Annotation $annotation)

Update the specified resource in storage.

Response
destroy(Annotation $annotation)

Remove the specified resource from storage.

mixed
destroyAnnotationContent(Request $request)

No description

Details

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

AnnotationController constructor.

Parameters

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

at line 47
Response index()

Display a listing of the resource.

Return Value

Response

at line 57
Response create()

Show the form for creating a new resource.

Return Value

Response

at line 68
Response store(Request $request)

Store a newly created resource in storage.

Parameters

Request $request

Return Value

Response

at line 79
Response show(Annotation $annotation)

Display the specified resource.

Parameters

Annotation $annotation

Return Value

Response

at line 90
Response edit(Annotation $annotation)

Show the form for editing the specified resource.

Parameters

Annotation $annotation

Return Value

Response

at line 102
Response update(Request $request, Annotation $annotation)

Update the specified resource in storage.

Parameters

Request $request
Annotation $annotation

Return Value

Response

at line 113
Response destroy(Annotation $annotation)

Remove the specified resource from storage.

Parameters

Annotation $annotation

Return Value

Response

at line 149
mixed destroyAnnotationContent(Request $request)

Parameters

Request $request

Return Value

mixed