RandomGenerator RandomGenerator A basic random generator. This is in a separate class so we the generator can be injected as a dependency and replaced with a mock in tests. ContentsDescription Source Related Namespace Methods Description # Source # File: includes/lib/stripe-php/lib/Util/RandomGenerator.php Related # Namespace # Stripe Methods # randFloat — Returns a random value between 0 and $max. uuid — Returns a v4 UUID.