uuid() публичный статический Метод

Returns Version 4 UUID format: xxxxxxxx-xxxx-4xxx-Yxxx-xxxxxxxxxxxx where x is any random hex digit and Y is a random choice from 8, 9, a, or b.
См. также: http://stackoverflow.com/questions/2040240/php-function-to-generate-v4-uuid
public static uuid ( ) : string
Результат string
Пример #1
0
 public function testGenerateUUID()
 {
     isNotSame(Str::uuid(), Str::uuid());
     isNotSame(Str::uuid(), Str::uuid());
     isNotSame(Str::uuid(), Str::uuid());
 }