class UploadController extends Controller

Class UploadController

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Properties

protected $flysystem
protected $laudatioUtilsService
protected $connection
protected $blacklist
protected $basePath
protected $GitLabService
protected $GitRepoService
protected $elasticService
protected $indexMappingPath
protected $schemaBasePath
protected $validationService
protected $sshAlias

Methods

__construct(FlysystemManager $flysystem, LaudatioUtilsInterface $laudatioUtilsService, GitLabInterface $GitLabService, GitRepoInterface $Gitservice, ElasticsearchInterface $elasticService, ValidatorInterface $validationService)

UploadController constructor.

RedirectResponse
uploadSubmit(Request $request)

uploadSubmit: upload corpus headers

RedirectResponse
uploadSubmitFiles(Request $request)

uploadSubmitFiles: upload corpus data files

RedirectResponse
UploadCorpusImage(Request $request)

UploadCorpusImage

string
convertOctalToCharacter($octal)

No description

Details

at line 71
__construct(FlysystemManager $flysystem, LaudatioUtilsInterface $laudatioUtilsService, GitLabInterface $GitLabService, GitRepoInterface $Gitservice, ElasticsearchInterface $elasticService, ValidatorInterface $validationService)

UploadController constructor.

Parameters

FlysystemManager $flysystem
LaudatioUtilsInterface $laudatioUtilsService
GitLabInterface $GitLabService
GitRepoInterface $Gitservice
ElasticsearchInterface $elasticService
ValidatorInterface $validationService

at line 95
RedirectResponse uploadSubmit(Request $request)

uploadSubmit: upload corpus headers

Parameters

Request $request

Return Value

RedirectResponse

Exceptions

JSONPathException

at line 1020
RedirectResponse uploadSubmitFiles(Request $request)

uploadSubmitFiles: upload corpus data files

Parameters

Request $request

Return Value

RedirectResponse

at line 1191
RedirectResponse UploadCorpusImage(Request $request)

UploadCorpusImage

Parameters

Request $request

Return Value

RedirectResponse

at line 1345
string convertOctalToCharacter($octal)

Parameters

$octal

Return Value

string