Interface Ramsey\Uuid\Rfc4122\FieldsInterface

extends FieldsInterface

UUID fields, as defined by RFC 4122

This interface defines the fields of an RFC 4122 variant UUID. Since RFC 9562 removed the concept of fields and instead defined layouts that are specific to a given version, this interface is a legacy artifact of the earlier, and now obsolete, RFC 4122.

The fields of an RFC 4122 variant UUID are:

  • time_low: The low field of the timestamp, an unsigned 32-bit integer
  • time_mid: The middle field of the timestamp, an unsigned 16-bit integer
  • time_hi_and_version: The high field of the timestamp multiplexed with the version number, an unsigned 16-bit integer
  • clock_seq_hi_and_reserved: The high field of the clock sequence multiplexed with the variant, an unsigned 8-bit integer
  • clock_seq_low: The low field of the clock sequence, an unsigned 8-bit integer
  • node: The spatially unique node identifier, an unsigned 48-bit integer
Methods
Methods inherited from Ramsey\Uuid\Fields\FieldsInterface
getBytes()
Methods inherited from Serializable
serialize(), unserialize()