AbstractTask

class AbstractTask extends Model implements DecoratorItemInterface, TaskInterface

Traits

DecoratorItemTrait
RegisterTrait

Methods summary

Return Type Method Name Description
createTable($drop = false) -
static  firstOfClassOrNew(array $attributes = array()) -
static  register($allowDuplicates = false) -
getDefaultAttributes() -
Collection newCollection(array $models = array()) -
getName() -
setName($name) -
run() -
getPriority() -
setPriority($priority) -
getDescription() -
setDescription($description) -
getFrequencyMinutes() -
setFrequencyMinutes($minutes) -
anticipatedNextRun(Carbon $date = null) -
isEnabled() -
setEnabled($state) -
isPeriodic() -
setPeriodic($state) -
getStatus() -
status() -
getSystemName() -
getAccessLevel() -
array getOutputKeys() -
isDailyTask() -
monthlyDayOfExecution() -

Details

createTable ($drop = false)

Parameters

$drop

static firstOfClassOrNew (array $attributes = array())

Parameters

array $attributes

static register ($allowDuplicates = false)

Parameters

$allowDuplicates

getDefaultAttributes ()

Collection newCollection (array $models = array())

Parameters

array $models

Return Value

Collection

getName ()

setName ($name)

Parameters

$name

run ()

getPriority ()

setPriority ($priority)

Parameters

$priority

getDescription ()

setDescription ($description)

Parameters

$description

getFrequencyMinutes ()

setFrequencyMinutes ($minutes)

Parameters

$minutes

anticipatedNextRun (Carbon $date = null)

Parameters

Carbon $date

isEnabled ()

setEnabled ($state)

Parameters

$state

isPeriodic ()

setPeriodic ($state)

Parameters

$state

getStatus ()

status ()

getSystemName ()

getAccessLevel ()

array getOutputKeys ()

Return Value

array

isDailyTask ()

monthlyDayOfExecution ()