constant Random::MAXIMUM_TRIES in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Utility/Random.php \Drupal\Component\Utility\Random::MAXIMUM_TRIES
The maximum number of times name() and string() can loop.
This prevents infinite loops if the length of the random value is very small.
See also
\Drupal\Tests\Component\Utility\RandomTest
File
- lib/
Drupal/ Component/ Utility/ Random.php, line 25 - Contains \Drupal\Component\Utility\Random.
Class
- Random
- Defines a utility class for creating random data.
Namespace
Drupal\Component\UtilityCode
const MAXIMUM_TRIES = 100;