Methods |
public
|
getClockSeqHiAndReserved(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqHiAndReserved()} and use the arbitrary-precision math
library of your choice to convert it to a string integer.
|
#
|
public
|
getClockSeqHiAndReservedHex(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqHiAndReserved()}.
|
#
|
public
|
getClockSeqLow(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqLow()} and use the arbitrary-precision math library of
your choice to convert it to a string integer.
|
#
|
public
|
getClockSeqLowHex(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeqLow()}.
|
#
|
public
|
getClockSequence(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeq()} and use the arbitrary-precision math library of
your choice to convert it to a string integer.
|
#
|
public
|
getClockSequenceHex(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getClockSeq()}.
|
#
|
public
|
getNumberConverter(): NumberConverterInterface
Deprecated
This method will be removed in 5.0.0. There is no alternative recommendation, so plan accordingly.
|
#
|
public
|
getDateTime(): DateTimeImmutable
Deprecated
In ramsey/uuid version 5.0.0, this will be removed. It is available at {@see UuidV1::getDateTime()}.
Returns
An immutable instance of DateTimeInterface
Throws
|
#
|
public
|
getFieldsHex(): string[]
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
|
#
|
public
|
getLeastSignificantBits(): string
Deprecated
This method will be removed in 5.0.0. There is no direct alternative, but the same information may be
obtained by splitting in half the value returned by {@see UuidInterface::getHex()}.
|
#
|
public
|
getLeastSignificantBitsHex(): string
Deprecated
This method will be removed in 5.0.0. There is no direct alternative, but the same information may be
obtained by splitting in half the value returned by {@see UuidInterface::getHex()}.
|
#
|
public
|
getMostSignificantBits(): string
Deprecated
This method will be removed in 5.0.0. There is no direct alternative, but the same information may be
obtained by splitting in half the value returned by {@see UuidInterface::getHex()}.
|
#
|
public
|
getMostSignificantBitsHex(): string
Deprecated
This method will be removed in 5.0.0. There is no direct alternative, but the same information may be
obtained by splitting in half the value returned by {@see UuidInterface::getHex()}.
|
#
|
public
|
getNode(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getNode()} and use the arbitrary-precision math library of your
choice to convert it to a string integer.
|
#
|
public
|
getNodeHex(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getNode()}.
|
#
|
public
|
getTimeHiAndVersion(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeHiAndVersion()} and use the arbitrary-precision math
library of your choice to convert it to a string integer.
|
#
|
public
|
getTimeHiAndVersionHex(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeHiAndVersion()}.
|
#
|
public
|
getTimeLow(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeLow()} and use the arbitrary-precision math library of
your choice to convert it to a string integer.
|
#
|
public
|
getTimeLowHex(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeLow()}.
|
#
|
public
|
getTimeMid(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeMid()} and use the arbitrary-precision math library of
your choice to convert it to a string integer.
|
#
|
public
|
getTimeMidHex(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimeMid()}.
|
#
|
public
|
getTimestamp(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimestamp()} and use the arbitrary-precision math library of
your choice to convert it to a string integer.
|
#
|
public
|
getTimestampHex(): string
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getTimestamp()}.
|
#
|
public
|
getVariant(): ?int
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVariant()}.
|
#
|
public
|
getVersion(): ?int
Deprecated
Use {@see UuidInterface::getFields()} to get a {@see \Ramsey\Uuid\Fields\FieldsInterface} instance.
If it is a {@see \Ramsey\Uuid\Rfc4122\FieldsInterface} instance, you may call
{@see \Ramsey\Uuid\Rfc4122\FieldsInterface::getVersion()}.
|
#
|