RandomGeneratorTrait::$randomGenerator

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/RandomGeneratorTrait.php \Drupal\Tests\RandomGeneratorTrait::randomGenerator

The random generator.

Type: \Drupal\Component\Utility\Random

File

core/tests/Drupal/Tests/RandomGeneratorTrait.php, line 17

Class

RandomGeneratorTrait
Provides random generator utility methods.

Namespace

Drupal\Tests

Code

protected $randomGenerator;

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