Skip to content

DeprecatedUuidMethodsTrait

This trait encapsulates deprecated methods for ramsey/uuid; this trait and its methods will be removed in ramsey/uuid 5.0.0.

  • Full name: \Ramsey\Uuid\DeprecatedUuidMethodsTrait
  • Warning: this trait is deprecated. This means that this class will likely be removed in a future version.

Methods

getClockSeqHiAndReserved

public getClockSeqHiAndReserved(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getClockSeqHiAndReservedHex

public getClockSeqHiAndReservedHex(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getClockSeqLow

public getClockSeqLow(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getClockSeqLowHex

public getClockSeqLowHex(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getClockSequence

public getClockSequence(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getClockSequenceHex

public getClockSequenceHex(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getNumberConverter

public getNumberConverter(): \Ramsey\Uuid\Converter\NumberConverterInterface
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getDateTime

public getDateTime(): \DateTimeImmutable
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

Return Value:

An immutable instance of DateTimeInterface

Throws:

if UUID is not time-based

if DateTime throws an exception/error


getFieldsHex

public getFieldsHex(): string[]
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getLeastSignificantBits

public getLeastSignificantBits(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getLeastSignificantBitsHex

public getLeastSignificantBitsHex(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getMostSignificantBits

public getMostSignificantBits(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getMostSignificantBitsHex

public getMostSignificantBitsHex(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getNode

public getNode(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getNodeHex

public getNodeHex(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getTimeHiAndVersion

public getTimeHiAndVersion(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getTimeHiAndVersionHex

public getTimeHiAndVersionHex(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getTimeLow

public getTimeLow(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getTimeLowHex

public getTimeLowHex(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getTimeMid

public getTimeMid(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getTimeMidHex

public getTimeMidHex(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getTimestamp

public getTimestamp(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getTimestampHex

public getTimestampHex(): string
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getVariant

public getVariant(): ?int
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.

getVersion

public getVersion(): ?int
  • Warning: this method is deprecated. This means that this method will likely be removed in a future version.


Automatically generated on 2025-03-18