class Tags

Constants

protected CONTEXT_KEY

Methods

static array
for(mixed $job)

Determine the tags for the given job.

static array
extractExplicitTags(mixed $job)

Extract tags from job object.

static array
tagsForListener(CallQueuedListener $job)

Determine tags for the given queued listener.

static array
explicitTags(array $jobs)

Determine tags for the given job.

static array
targetsFor(mixed $job)

Get the actual target for the given job.

static Collection
modelsFor(array $targets)

Get the models from the given object.

static mixed
getValue(ReflectionProperty $property, mixed $target)

Get the value of the given ReflectionProperty.

static mixed
extractListener(mixed $job)

Extract the listener from a queued job.

static mixed
extractEvent(mixed $job)

Extract the event from a queued job.

static void
setEvent(object $event)

Set the event currently being handled.

static object|null
getEvent()

Get the event currently being handled.

static void
flushEventState()

Flush the event currently being handled.

Details

at line 26
static array for(mixed $job)

Determine the tags for the given job.

Parameters

mixed $job

Return Value

array

at line 40
static array extractExplicitTags(mixed $job)

Extract tags from job object.

Parameters

mixed $job

Return Value

array

at line 50
static protected array tagsForListener(CallQueuedListener $job)

Determine tags for the given queued listener.

Parameters

CallQueuedListener $job

Return Value

array

at line 70
static protected array explicitTags(array $jobs)

Determine tags for the given job.

Parameters

array $jobs

Return Value

array

at line 80
static array targetsFor(mixed $job)

Get the actual target for the given job.

Parameters

mixed $job

Return Value

array

at line 94
static Collection modelsFor(array $targets)

Get the models from the given object.

Parameters

array $targets

Return Value

Collection

at line 121
static protected mixed getValue(ReflectionProperty $property, mixed $target)

Get the value of the given ReflectionProperty.

Parameters

ReflectionProperty $property
mixed $target

Return Value

mixed

at line 133
static protected mixed extractListener(mixed $job)

Extract the listener from a queued job.

Parameters

mixed $job

Return Value

mixed

at line 141
static protected mixed extractEvent(mixed $job)

Extract the event from a queued job.

Parameters

mixed $job

Return Value

mixed

at line 151
static protected void setEvent(object $event)

Set the event currently being handled.

Parameters

object $event

Return Value

void

at line 159
static protected object|null getEvent()

Get the event currently being handled.

Return Value

object|null

at line 167
static protected void flushEventState()

Flush the event currently being handled.

Return Value

void