interface AcquiaPurgeStateCounterInterface in Acquia Purge 7
Describes a single counter kept in state storage.
Hierarchy
- interface \AcquiaPurgeStateItemInterface
- interface \AcquiaPurgeStateCounterInterface
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AcquiaPurgeStateCounterInterface:: |
public | function | Decrease the counter. | 1 |
AcquiaPurgeStateCounterInterface:: |
public | function | Increase the counter. | 1 |
AcquiaPurgeStateItemInterface:: |
public | function | Get the item value. | 1 |
AcquiaPurgeStateItemInterface:: |
public | function | Get the item key. | 1 |
AcquiaPurgeStateItemInterface:: |
public | function | Store the state item in state item storage. | 1 |
AcquiaPurgeStateItemInterface:: |
public | function | Construct a state item object. | 1 |