interface ProgressInterface in Ultimate Cron 8.2
Hierarchy
- interface \Drupal\ultimate_cron\Progress\ProgressInterface
Expanded class hierarchy of ProgressInterface
All classes that implement ProgressInterface
File
- src/
Progress/ ProgressInterface.php, line 5
Namespace
Drupal\ultimate_cron\ProgressView source
interface ProgressInterface {
/**
* Set job progress.
*
* @param string $job_id
* Cron Job id.
*
* @param float $progress
* The progress (0 - 1).
*/
public function setProgress($job_id, $progress);
/**
* Get multiple job progresses.
*
* @param array $job_ids
* Job ids to get progress for.
*
* @return array
* Progress of jobs, keyed by job name.
*/
public function getProgressMultiple($job_ids);
/**
* Get job progress.
*
* @param string $job_id
* Cron Job id.
*
* @return float
* The progress of this job.
*/
public function getProgress($job_id);
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ProgressInterface:: |
public | function | Get job progress. | 1 |
ProgressInterface:: |
public | function | Get multiple job progresses. | 1 |
ProgressInterface:: |
public | function | Set job progress. | 1 |