class ExtractTags

Methods

static array
from(mixed $target)

Get the tags for the given object.

static array
fromJob(mixed $job)

Determine the tags for the given job.

static array
fromArray(array $data)

Determine the tags for the given array.

static array
extractExplicitTags(mixed $job)

Extract tags from job object.

static array
tagsForListener(mixed $job)

Determine tags for the given queued listener.

static array
explicitTags(array $targets)

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
extractListener(mixed $job)

Extract the listener from a queued job.

static mixed
extractEvent(mixed $job)

Extract the event from a queued job.

static Collection|null
resolveValue(mixed $value)

Resolve the given value.

Details

at line 22
static array from(mixed $target)

Get the tags for the given object.

Parameters

mixed $target

Return Value

array

at line 36
static array fromJob(mixed $job)

Determine the tags for the given job.

Parameters

mixed $job

Return Value

array

at line 50
static array fromArray(array $data)

Determine the tags for the given array.

Parameters

array $data

Return Value

array

at line 62
static protected array extractExplicitTags(mixed $job)

Extract tags from job object.

Parameters

mixed $job

Return Value

array

at line 72
static protected array tagsForListener(mixed $job)

Determine tags for the given queued listener.

Parameters

mixed $job

Return Value

array

at line 84
static protected array explicitTags(array $targets)

Determine tags for the given job.

Parameters

array $targets

Return Value

array

at line 94
static protected array targetsFor(mixed $job)

Get the actual target for the given job.

Parameters

mixed $job

Return Value

array

at line 113
static protected Collection modelsFor(array $targets)

Get the models from the given object.

Parameters

array $targets

Return Value

Collection

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

Extract the listener from a queued job.

Parameters

mixed $job

Return Value

mixed

Exceptions

ReflectionException

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

Extract the event from a queued job.

Parameters

mixed $job

Return Value

mixed

at line 149
static protected Collection|null resolveValue(mixed $value)

Resolve the given value.

Parameters

mixed $value

Return Value

Collection|null