function TestRunResultsStorageInterface::createNew

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

Gets a new unique identifier for a test run.

Return value

int|string A unique identifier.

1 method overrides TestRunResultsStorageInterface::createNew()
SimpletestTestRunResultsStorage::createNew in core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php
Gets a new unique identifier for a test run.

File

core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php, line 18

Class

TestRunResultsStorageInterface
Interface describing a test run results storage object.

Namespace

Drupal\Core\Test

Code

public function createNew() : int|string;

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