public function AcquiaPurgeStateStorageInterface::getCounter in Acquia Purge 7
Retrieve a counter object named $key.
Parameters
int $key: The key with which the object is stored in state storage.
Return value
AcquiaPurgeStateCounterInterface The counter.
1 method overrides AcquiaPurgeStateStorageInterface::getCounter()
- AcquiaPurgeStateStorageBase::getCounter in lib/
state/ AcquiaPurgeStateStorageBase.php - Retrieve a counter object named $key.
File
- lib/
state/ AcquiaPurgeStateStorageInterface.php, line 40 - Contains AcquiaPurgeStateStorageInterface.
Class
- AcquiaPurgeStateStorageInterface
- Describes a state storage object that maintains AcquiaPurgeStateItem objects.
Code
public function getCounter($key);