UniqueJobPayloadContext
class UniqueJobPayloadContext
Properties
| static protected null|WeakMap<object, array{laravel_unique_job_cache_store: ?string, laravel_unique_job_key: string}> | $metadata | The unique job metadata waiting to be consumed during payload creation. |
Methods
static void
static array|null
consume(object $job)
Consume unique job metadata for payload creation.
static string|null
getCacheStore(ShouldBeUnique $job)
Determine the cache store used by the unique job to acquire locks.
static void
flushState()
Flush all static state.
Details
at line 22
static void
register(ShouldBeUnique $job)
Register unique job metadata for payload creation.
at line 39
static array|null
consume(object $job)
Consume unique job metadata for payload creation.
at line 69
static protected string|null
getCacheStore(ShouldBeUnique $job)
Determine the cache store used by the unique job to acquire locks.
at line 79
static void
flushState()
Flush all static state.