You are here

public function TxBufferInterface::getByProperty in Purge 8.3

Retrieve a buffered object by property=value combination.

Parameters

string $property: The name of the property you want to look for.

mixed $value: The (unique) value of the property that has to be stored in the buffer in order to return the object.

Return value

\Drupal\purge\Plugin\Purge\Invalidation\InvalidationInterface|false The matched invalidation object or FALSE when there was no combination found of the property and value.

1 method overrides TxBufferInterface::getByProperty()
TxBuffer::getByProperty in src/Plugin/Purge/Queue/TxBuffer.php
Retrieve a buffered object by property=value combination.

File

src/Plugin/Purge/Queue/TxBufferInterface.php, line 76

Class

TxBufferInterface
Describes the transaction buffer.

Namespace

Drupal\purge\Plugin\Purge\Queue

Code

public function getByProperty($property, $value);