public function AcquiaPurgeStateItem::__construct in Acquia Purge 7
Construct a state item object.
Parameters
AcquiaPurgeStateStorageInterface $storage: The state storage in which the item has been stored.
int $key: The key with which the object is stored in state storage.
mixed $value: The value of the state item.
Overrides AcquiaPurgeStateItemInterface::__construct
1 call to AcquiaPurgeStateItem::__construct()
- AcquiaPurgeStateCounter::__construct in lib/
state/ AcquiaPurgeStateCounter.php - Construct a state item object.
1 method overrides AcquiaPurgeStateItem::__construct()
- AcquiaPurgeStateCounter::__construct in lib/
state/ AcquiaPurgeStateCounter.php - Construct a state item object.
File
- lib/
state/ AcquiaPurgeStateItem.php, line 37 - Contains AcquiaPurgeStateItem.
Class
- AcquiaPurgeStateItem
- Provides a single state item kept in state storage.
Code
public function __construct(AcquiaPurgeStateStorageInterface $storage, $key, $value) {
$this->storage = $storage;
$this->value = $value;
$this->key = $key;
}