ReplicaKillSwitch::$session

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

The session.

Type: \Symfony\Component\HttpFoundation\Session\SessionInterface

File

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

Class

ReplicaKillSwitch
Provides replica server kill switch to ignore it.

Namespace

Drupal\Core\Database

Code

protected $session;

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