You are here

public function AcquiaPurgeService::clear in Acquia Purge 7

Empty the queue and reset all state data.

File

lib/AcquiaPurgeService.php, line 201
Contains AcquiaPurgeService.

Class

AcquiaPurgeService
The Acquia Purge service.

Code

public function clear() {
  $this
    ->lockRelease();
  $this
    ->state()
    ->wipe();
  $this
    ->queue()
    ->deleteQueue();
}