LockTest::$lock

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Lock/LockTest.php \Drupal\KernelTests\Core\Lock\LockTest::lock
  2. 10 core/tests/Drupal/KernelTests/Core/Lock/LockTest.php \Drupal\KernelTests\Core\Lock\LockTest::lock
  3. 11.x core/tests/Drupal/KernelTests/Core/Lock/LockTest.php \Drupal\KernelTests\Core\Lock\LockTest::lock

Database lock backend to test.

Type: \Drupal\Core\Lock\DatabaseLockBackend

File

core/tests/Drupal/KernelTests/Core/Lock/LockTest.php, line 20

Class

LockTest
Tests the Database lock backend.

Namespace

Drupal\KernelTests\Core\Lock

Code

protected $lock;

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