ReportDownloadComponent
extends Injectable
in package
Table of Contents
Properties
- $files : array<string|int, mixed>
- $googleCloudStorageComponent : GoogleCloudStorageComponent
- $missingFiles : mixed
- $requestId : int
- $uploadedZip : string
- $zipDir : string
- $zipFile : string
Methods
- __construct() : mixed
- DownloadReportComponent constructor.
- createReportPack() : bool
- getLocalFile() : string
- getMissingFiles() : mixed
- getPublicUrl() : string
- removeLocalFile() : void
- setFileList() : void
- setRequestId() : mixed
- Required
- uploadFile() : void
- getOutFileNameByName() : string
Properties
$files
private
array<string|int, mixed>
$files
$googleCloudStorageComponent
private
GoogleCloudStorageComponent
$googleCloudStorageComponent
$missingFiles
private
mixed
$missingFiles
= []
$requestId
private
int
$requestId
$uploadedZip
private
string
$uploadedZip
$zipDir
private
string
$zipDir
$zipFile
private
string
$zipFile
Methods
__construct()
DownloadReportComponent constructor.
public
__construct(GoogleCloudStorageComponent $googleCloudStorageComponent) : mixed
Parameters
- $googleCloudStorageComponent : GoogleCloudStorageComponent
Tags
createReportPack()
public
createReportPack() : bool
Tags
Return values
boolgetLocalFile()
public
getLocalFile() : string
Return values
stringgetMissingFiles()
public
getMissingFiles() : mixed
getPublicUrl()
public
getPublicUrl() : string
Return values
stringremoveLocalFile()
public
removeLocalFile() : void
setFileList()
public
setFileList(array<string|int, mixed> $files) : void
Parameters
- $files : array<string|int, mixed>
setRequestId()
Required
public
setRequestId(int $id) : mixed
Parameters
- $id : int
Tags
uploadFile()
public
uploadFile() : void
getOutFileNameByName()
private
getOutFileNameByName(string $file) : string
Parameters
- $file : string