rfc4122-uuidv7.rst 589 B

1234567891011121314151617181920
  1. .. _reference.rfc4122.uuidv7:
  2. ===============
  3. Rfc4122\\UuidV7
  4. ===============
  5. .. php:namespace:: Ramsey\Uuid\Rfc4122
  6. .. php:class:: UuidV7
  7. Implements :php:interface:`Ramsey\\Uuid\\Rfc4122\\UuidInterface`.
  8. UuidV7 represents a :ref:`version 7, Unix Epoch time UUID <rfc4122.version7>`.
  9. In addition to providing the methods defined on the interface, this class
  10. additionally provides the following methods.
  11. .. php:method:: getDateTime()
  12. :returns: A date object representing the timestamp associated with the UUID.
  13. :returntype: ``\DateTimeInterface``