Documentation

CronController extends BaseCronController
in package

Class BaseCronController

Table of Contents

Properties

$em  : EntityManager
$l  : Logger
$trans  : Translator|NativeArray
$handler  : HandlerComponent
Cronjob handler.
$modules  : array<string|int, Module>
Api modules.
$start  : float
Cronjob start in microtime.
$apiOrderUploadBatchRepository  : ApiOrderUploadBatchRepository
$filesAlreadyInGCS  : mixed
$filesNotExistingLocally  : mixed
$googleCloudStorageComponent  : GoogleCloudStorageComponent
$uploadedFiles  : mixed

Methods

__destruct()  : mixed
Finish cronjob and log the report.
execPrep()  : mixed
initialize()  : mixed
Disable view render and start cronjob.
sumhelp()  : mixed
uploadAllExistingFilesAction()  : mixed
getStoragePath()  : string
checkIfFileIsAlreadyInGCS()  : mixed
saveToCloudIfNotExists()  : mixed

Properties

Methods

execPrep()

public execPrep(mixed $s, mixed $b, mixed $t) : mixed
Parameters
$s : mixed
$b : mixed
$t : mixed

initialize()

Disable view render and start cronjob.

public initialize() : mixed

uploadAllExistingFilesAction()

public uploadAllExistingFilesAction() : mixed

getStoragePath()

protected getStoragePath(int $userId) : string
Parameters
$userId : int
Return values
string

checkIfFileIsAlreadyInGCS()

private checkIfFileIsAlreadyInGCS(int $userId, string $fileName) : mixed
Parameters
$userId : int
$fileName : string

saveToCloudIfNotExists()

private saveToCloudIfNotExists(string $localFilePath, string $fileName, int $userId) : mixed
Parameters
$localFilePath : string
$fileName : string
$userId : int

        
On this page

Search results