Nonstandard\UuidV6
- class Ramsey\Uuid\Nonstandard\UuidV6
Attention
Ramsey\Uuid\Nonstandard\UuidV6is deprecated in favor ofRamsey\Uuid\Rfc4122\UuidV6. Please migrate any code usingNonstandard\UuidV6toRfc4122\UuidV6.Implements
Ramsey\Uuid\Rfc4122\UuidInterface.UuidV6 represents a version 6, reordered Gregorian time UUID. In addition to providing the methods defined on the interface, this class additionally provides the following methods.
- getDateTime()
- Returns:
A date object representing the timestamp associated with the UUID
- Return type:
\DateTimeInterface
- toUuidV1()
- Returns:
A version 1 UUID, converted from this version 6 UUID
- Return type:
- static fromUuidV1
- Parameters:
$uuidV1 (
Ramsey\Uuid\Rfc4122\UuidV1) – A version 1 UUID
- Returns:
A version 6 UUID, converted from the given version 1 UUID
- Return type: