Locker\Repository\Statement\EloquentStorer::getUUID PHP Method

getUUID() private method

Generates a UUID.
private getUUID ( ) : String
return String
    private function getUUID()
    {
        $uuid = sprintf('%04x%04x-%04x-%04x-%04x-%04x%04x%04x', mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xfff) | 0x4000, mt_rand(0, 0x3fff) | 0x8000, mt_rand(0, 0xffff), mt_rand(0, 0xffff), mt_rand(0, 0xffff));
        return $uuid;
    }