\Charcoal\QueueQueueableInterface

Queuable objects can be queued.

Summary

Methods
Constants
setQueueId()
queueId()
queue()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setQueueId()

setQueueId(mixed  $id) : \Charcoal\Queue\QueueableInterface

Set the queue's ID.

Parameters

mixed $id

The unique queue identifier.

Returns

\Charcoal\Queue\QueueableInterface

Chainable

queueId()

queueId() : string

Get the queue's ID.

Returns

string —

$queueId

queue()

queue(mixed  $ts = null) : \Charcoal\Queue\QueueableInterface

Set the date/time to process the queue.

Parameters

mixed $ts

A date/time to initiate the queue processing.

Returns

\Charcoal\Queue\QueueableInterface

Chainable