You are here

protected function CronJob::invokeCallback in Ultimate Cron 8.2

Invokes the jobs callback.

1 call to CronJob::invokeCallback()
CronJob::run in src/Entity/CronJob.php
Run job.

File

src/Entity/CronJob.php, line 323

Class

CronJob
Class for handling cron jobs.

Namespace

Drupal\ultimate_cron\Entity

Code

protected function invokeCallback() {
  $callback = $this
    ->getCallback();
  return call_user_func($callback, $this);
}