Метод | Описание | |
---|---|---|
__construct ( $part1, $part2, $part3, $part4, $version = null ) | ||
__toString ( ) | ||
equals ( |
||
fromBinary ( string $uuid, integer $version = null ) : |
Creates an UUID from a binary representation | |
fromData ( $data ) : |
Creates an UUIDv3 from binary data or list of binary data | |
fromRandom ( ) | ||
fromString ( string $uuid, integer $version = null ) : |
Creates an UUID from an hexadecimal representation | |
getVersion ( ) | ||
toBinary ( ) | ||
toString ( ) |
public __construct ( $part1, $part2, $part3, $part4, $version = null ) |
public static fromBinary ( string $uuid, integer $version = null ) : |
||
$uuid | string | |
$version | integer | |
Результат |
public static fromData ( $data ) : |
||
$data | ||
Результат |
public static fromString ( string $uuid, integer $version = null ) : |
||
$uuid | string | |
$version | integer | |
Результат |