Cron
extends Cron
in package
Uses
ExtensionsTrait
Class created by Core/Base/PluginDeploy
Tags
Table of Contents
- $extensions : array<string|int, mixed>
- Stores class extensions.
- __call() : mixed
- Executes the first matched extension.
- __construct() : mixed
- addExtension() : mixed
- getPageData() : array<string|int, mixed>
- pipe() : mixed
- pipeFalse() : bool
- run() : void
- removeOldLogs() : void
- removeOldWorkEvents() : void
- runCoreJobs() : void
- runPlugins() : void
- runWorkQueue() : void
- updateAttachedRelations() : void
- updateReceipts() : void
- echoLogo() : void
- getMemorySize() : string
- job() : CronJob
Properties
$extensions
Stores class extensions.
protected
static array<string|int, mixed>
$extensions
= []
Methods
__call()
Executes the first matched extension.
public
__call(string $name[, array<string|int, mixed> $arguments = [] ]) : mixed
Parameters
- $name : string
- $arguments : array<string|int, mixed> = []
Tags
Return values
mixed —__construct()
public
__construct(string $className[, string $url = '' ]) : mixed
Parameters
- $className : string
- $url : string = ''
Return values
mixed —addExtension()
public
static addExtension(mixed $extension) : mixed
Parameters
- $extension : mixed
Return values
mixed —getPageData()
public
getPageData() : array<string|int, mixed>
Return values
array<string|int, mixed> —pipe()
public
pipe(string $name, array<string|int, mixed> ...$arguments) : mixed
Parameters
- $name : string
- $arguments : array<string|int, mixed>
Return values
mixed —pipeFalse()
public
pipeFalse(string $name, array<string|int, mixed> ...$arguments) : bool
Parameters
- $name : string
- $arguments : array<string|int, mixed>
Return values
bool —run()
public
run() : void
Return values
void —removeOldLogs()
protected
removeOldLogs() : void
Return values
void —removeOldWorkEvents()
protected
removeOldWorkEvents() : void
Return values
void —runCoreJobs()
protected
runCoreJobs() : void
Return values
void —runPlugins()
protected
runPlugins() : void
Return values
void —runWorkQueue()
protected
runWorkQueue() : void
Return values
void —updateAttachedRelations()
protected
updateAttachedRelations() : void
Return values
void —updateReceipts()
protected
updateReceipts() : void
Return values
void —echoLogo()
private
echoLogo() : void
Return values
void —getMemorySize()
private
getMemorySize(int $size) : string
Parameters
- $size : int
Return values
string —job()
private
job(string $name) : CronJob
Parameters
- $name : string