You are here

interface AcquiaPurgeStateCounterInterface in Acquia Purge 7

Describes a single counter kept in state storage.

Hierarchy

Expanded class hierarchy of AcquiaPurgeStateCounterInterface

All classes that implement AcquiaPurgeStateCounterInterface

File

lib/state/AcquiaPurgeStateCounterInterface.php, line 11
Contains AcquiaPurgeStateCounterInterface.

View source
interface AcquiaPurgeStateCounterInterface extends AcquiaPurgeStateItemInterface {

  /**
   * Decrease the counter.
   *
   * @param int $amount
   *   Numeric amount to decrease the counter with.
   */
  public function decrease($amount = 1);

  /**
   * Increase the counter.
   *
   * @param int $amount
   *   Numeric amount to increase the counter with.
   */
  public function increase($amount = 1);

}

Members

Namesort descending Modifiers Type Description Overrides
AcquiaPurgeStateCounterInterface::decrease public function Decrease the counter. 1
AcquiaPurgeStateCounterInterface::increase public function Increase the counter. 1
AcquiaPurgeStateItemInterface::get public function Get the item value. 1
AcquiaPurgeStateItemInterface::getKey public function Get the item key. 1
AcquiaPurgeStateItemInterface::set public function Store the state item in state item storage. 1
AcquiaPurgeStateItemInterface::__construct public function Construct a state item object. 1