You are here

public function AcquiaPurgeQueueStatusTrait::setStatusFailed in Acquia Purge 7

File

lib/queue/AcquiaPurgeQueueStatusTrait.php, line 131

Class

AcquiaPurgeQueueStatusTrait
Provides methods capable of letting multiple actors set a SUCCEEDED or FAILED status, which can then be evaluated to a single overall outcome.

Code

public function setStatusFailed() {
  $this
    ->setStatus(SELF::FAILED);
}