You are here

public function ProxyItemInterface::__construct in Purge 8.3

Construct a proxy item object.

Parameters

\Drupal\purge\Plugin\Purge\Invalidation\InvalidationInterface $invalidation: Invalidation object being wrapped in a proxy.

\Drupal\purge\Plugin\Purge\Queue\TxBufferInterface $buffer: The current transaction buffer used by the queue service.

See also

\Drupal\Core\Queue\QueueInterface::createItem

\Drupal\Core\Queue\QueueInterface::claimItem

\Drupal\Core\Queue\QueueInterface::deleteItem

\Drupal\Core\Queue\QueueInterface::releaseItem

1 method overrides ProxyItemInterface::__construct()
ProxyItem::__construct in src/Plugin/Purge/Queue/ProxyItem.php
Construct a proxy item object.

File

src/Plugin/Purge/Queue/ProxyItemInterface.php, line 60

Class

ProxyItemInterface
Describes a proxy item.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function __construct(InvalidationInterface $invalidation, TxBufferInterface $buffer);