AutomatedCron::$cron

Same name and namespace in other branches
  1. 9 core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php \Drupal\automated_cron\EventSubscriber\AutomatedCron::cron
  2. 8.9.x core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php \Drupal\automated_cron\EventSubscriber\AutomatedCron::cron
  3. 10 core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php \Drupal\automated_cron\EventSubscriber\AutomatedCron::cron

The cron service.

Type: \Drupal\Core\CronInterface

File

core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php, line 22

Class

AutomatedCron
A subscriber running cron after a response is sent.

Namespace

Drupal\automated_cron\EventSubscriber

Code

protected $cron;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.