You are here

public function AcquiaPurgeStateItem::set in Acquia Purge 7

Store the state item in state item storage.

Parameters

mixed $value: The new value.

Overrides AcquiaPurgeStateItemInterface::set

1 call to AcquiaPurgeStateItem::set()
AcquiaPurgeStateCounter::set in lib/state/AcquiaPurgeStateCounter.php
Store the state item in state item storage.
1 method overrides AcquiaPurgeStateItem::set()
AcquiaPurgeStateCounter::set in lib/state/AcquiaPurgeStateCounter.php
Store the state item in state item storage.

File

lib/state/AcquiaPurgeStateItem.php, line 60
Contains AcquiaPurgeStateItem.

Class

AcquiaPurgeStateItem
Provides a single state item kept in state storage.

Code

public function set($value) {
  $this->value = $value;
  $this->storage
    ->set($this);
}