CheckPermissionsCronjobTask

Extends \AbstractCronjobTask

Class CheckPermissionsCronjobTask

package

Default

Methods

AbstractCronjob constructor.

__construct(\StringType $schedule, \IntType $sortOrder, \AbstractCronjobLogger $logger, \AbstractCronjobDependencies $dependencies) 
inherited

Arguments

$schedule

\StringType

Cronjob schedule, can be a cron expression string.

$sortOrder

\IntType

Sort order of cronjob execution.

$logger

\AbstractCronjobLogger

Logger instance for the cronjob callback.

$dependencies

\AbstractCronjobDependencies

Dependencies of cronjob's service.

Named constructor of AbstractCronjob

create(string $schedule, integer $sortOrder) : \AbstractCronjobTask
inherited static

Arguments

$schedule

string

Cronjob schedule, can be a cron expression string.

$sortOrder

integer

Sort order of cronjob execution.

Response

\AbstractCronjobTask

New instance.

Returns the cronjob callback.

getCallback(float $cronjobStartAsMicrotime) : \Closure
inherited abstract

Arguments

$cronjobStartAsMicrotime

float

Response

\Closure

Returns the cronjob name.

getName() : string
inherited

Response

string

Returns the cronjob schedule.

getSchedule() : string
inherited

Response

string

Returns the cronjob sort order.

getSortOrder() : integer
inherited

Response

integer

Runs the cronjob callback.

run( $cronjobStartAsMicrotime) : mixed
inherited

Arguments

$cronjobStartAsMicrotime

Response

mixed

Properties

name

name : string
inherited
var

Type(s)

string

schedule

schedule : string
inherited
var

Type(s)

string

sortOrder

sortOrder : integer
inherited
var

Type(s)

integer

logger

logger : \AbstractCronjobLogger
inherited

dependencies

dependencies : \AbstractCronjobDependencies
inherited