ReplicaKillSwitch::$time

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/ReplicaKillSwitch.php \Drupal\Core\Database\ReplicaKillSwitch::time
  2. 10 core/lib/Drupal/Core/Database/ReplicaKillSwitch.php \Drupal\Core\Database\ReplicaKillSwitch::time
  3. 11.x core/lib/Drupal/Core/Database/ReplicaKillSwitch.php \Drupal\Core\Database\ReplicaKillSwitch::time

The time service.

Type: \Drupal\Component\Datetime\TimeInterface

File

core/lib/Drupal/Core/Database/ReplicaKillSwitch.php, line 29

Class

ReplicaKillSwitch
Provides replica server kill switch to ignore it.

Namespace

Drupal\Core\Database

Code

protected $time;

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