TestDatabase::$lockId

The test lock ID.

A random number used to ensure that test fixtures are unique to each test method.

Type: int

File

core/lib/Drupal/Core/Test/TestDatabase.php, line 20

Class

TestDatabase
Provides helper methods for interacting with the fixture database.

Namespace

Drupal\Core\Test

Code

protected $lockId;

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