You are here

public function SignalCache::clear in Ultimate Cron 8.2

Clear signal.

Parameters

string $job_id: The name of the job.

string $signal: The name of the signal.

Overrides SignalInterface::clear

1 call to SignalCache::clear()
SignalCache::get in src/Signal/SignalCache.php
Get and claim signal.

File

src/Signal/SignalCache.php, line 93

Class

SignalCache

Namespace

Drupal\ultimate_cron\Signal

Code

public function clear($job_id, $signal) {
  $this->cacheBackend
    ->delete("signal-{$job_id}-{$signal}");
}