You are here

public function AcquiaPurgeQueueItemInterface::__construct in Acquia Purge 7

Constructs an queue item object.

Parameters

int $created: Timestamp when the item was put into the queue.

mixed $data: Purge specific data to be associated with the new task in the queue.

int $expire: Timestamp when the item expires from the queue.

string|int $item_id: The unique ID from AcquiaPurgeQueueInterface::createItem()

1 method overrides AcquiaPurgeQueueItemInterface::__construct()
AcquiaPurgeQueueItem::__construct in lib/queue/AcquiaPurgeQueueItem.php
Constructs an queue item object.

File

lib/queue/AcquiaPurgeQueueItemInterface.php, line 29

Class

AcquiaPurgeQueueItemInterface
Describes a queue item object.

Code

public function __construct($created, $data, $expire, $item_id);