| 1 | <?php  | 
            ||
| 4 | abstract class Uuid  | 
            ||
| 5 | { | 
            ||
| 6 | |||
| 7 | /**  | 
            ||
| 8 | * Create UUID v4 string  | 
            ||
| 9 | *  | 
            ||
| 10 | * Inspiration from GUI: the guid generator  | 
            ||
| 11 | * @see http://guid.us/GUID/PHP  | 
            ||
| 12 | *  | 
            ||
| 13 | * @return string UUID v4 as string  | 
            ||
| 14 | */  | 
            ||
| 15 | public static function create()  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * Create a UUID v4 string enclosed by braces  | 
            ||
| 38 | * @return string UUID v4 string with braces  | 
            ||
| 39 | */  | 
            ||
| 40 | public static function createEnclosed()  | 
            ||
| 44 | }  | 
            ||
| 45 |