function TestRun::id

Same name in other branches
  1. 11.x core/lib/Drupal/Core/Test/TestRun.php \Drupal\Core\Test\TestRun::id()

Returns the id of the test run object.

Return value

int|string The id of the test run object.

File

core/lib/Drupal/Core/Test/TestRun.php, line 75

Class

TestRun
Implements an object that tracks execution of a test run.

Namespace

Drupal\Core\Test

Code

public function id() : int|string {
    return $this->testId;
}

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