Cron::$time

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cron.php \Drupal\Core\Cron::time
  2. 8.9.x core/lib/Drupal/Core/Cron.php \Drupal\Core\Cron::time

The time service.

Type: \Drupal\Component\Datetime\TimeInterface

File

core/lib/Drupal/Core/Cron.php, line 84

Class

Cron
The Drupal core Cron service.

Namespace

Drupal\Core

Code

protected $time;

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