Свойство | Тип | Описание | |
---|---|---|---|
$salt | string | A unique environment value to salt each GUID with. |
Метод | Описание | |
---|---|---|
generate ( |
Generates a new GUID | |
generateV4 ( ) : string | Generates a v4 GUID | |
generateV5 ( string $namespace, string $salt ) : string | Generates a v5 GUID | |
getSalt ( ) : string | Returns the current salt value | |
isValid ( $guid ) : boolean | Checks that a given string is a valid uuid. | |
setSalt ( string $salt ) | Used to set the salt that will be applied to each id |
protected string $salt | ||
Результат | string |