Method | Description | |
---|---|---|
__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 static fromBinary ( string $uuid, integer $version = null ) : |
||
$uuid | string | |
$version | integer | |
return |
public static fromData ( $data ) : |
||
$data | ||
return |
public static fromString ( string $uuid, integer $version = null ) : |
||
$uuid | string | |
$version | integer | |
return |