You are here

AcquiaPurgeStateCounterInterface.php in Acquia Purge 7

Contains AcquiaPurgeStateCounterInterface.

File

lib/state/AcquiaPurgeStateCounterInterface.php
View source
<?php

/**
 * @file
 * Contains AcquiaPurgeStateCounterInterface.
 */

/**
 * Describes a single counter kept in state storage.
 */
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);

}

Interfaces

Namesort descending Description
AcquiaPurgeStateCounterInterface Describes a single counter kept in state storage.