protected static function Generate::getRandom in Payment 8.2
Gets the random data generator.
Return value
\Drupal\Component\Utility\Random
File
- src/
Tests/ Generate.php, line 27
Class
- Generate
- Provides utility tools to support tests.
Namespace
Drupal\payment\TestsCode
protected static function getRandom() {
if (!static::$random) {
static::$random = new Random();
}
return static::$random;
}