DataArchive
Table of Contents
-
$archiveNamePattern
: string
-
$ftpOperations
: FtpOperations
-
$localArchiveFileName
: string
-
$localArchivePath
: string
-
$s3Path
: string
-
__construct()
: mixed
-
process()
: bool
-
archivePath()
: string|null
-
download()
: string
-
listFiles()
: Collection
-
unzip()
: void
-
upload()
: void
$archiveNamePattern
protected
string
$archiveNamePattern
$ftpOperations
protected
FtpOperations
$ftpOperations
$localArchiveFileName
protected
string
$localArchiveFileName
$localArchivePath
protected
string
$localArchivePath
$s3Path
protected
string
$s3Path
__construct()
public
__construct(FtpOperations $ftpOperations) : mixed
Parameters
-
$ftpOperations
: FtpOperations
-
Return values
mixed
—
process()
public
process() : bool
-
throws
-
FileNotFoundException
-
throws
-
FilesystemException
-
throws
-
Exception
Return values
bool
—
archivePath()
protected
archivePath() : string|null
-
throws
-
FilesystemException
Return values
string|null
—
download()
protected
download() : string
-
throws
-
FileNotFoundException
-
throws
-
FilesystemException
Return values
string
—
listFiles()
protected
listFiles() : Collection
Return values
Collection
—
unzip()
protected
unzip() : void
-
throws
-
Exception
Return values
void
—
upload()
protected
upload(string $archivePath) : void
Parameters
-
$archivePath
: string
-
-
throws
-
Exception
Return values
void
—