interface RandomGeneratorInterface
A random generator generates strings of random binary data
Hierarchy
- interface \Ramsey\Uuid\Generator\RandomGeneratorInterface
Expanded class hierarchy of RandomGeneratorInterface
All classes that implement RandomGeneratorInterface
2 files declare their use of RandomGeneratorInterface
- FeatureSet.php in vendor/
ramsey/ uuid/ src/ FeatureSet.php - UuidFactory.php in vendor/
ramsey/ uuid/ src/ UuidFactory.php
File
-
vendor/
ramsey/ uuid/ src/ Generator/ RandomGeneratorInterface.php, line 20
Namespace
Ramsey\Uuid\GeneratorView source
interface RandomGeneratorInterface {
/**
* Generates a string of randomized binary data
*
* @param int<1, max> $length The number of bytes of random binary data to generate
*
* @return string A binary string
*/
public function generate(int $length) : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
RandomGeneratorInterface::generate | public | function | Generates a string of randomized binary data | 4 |