Introduce TimeBasedInterface for UUIDs derived from time

This commit is contained in:
Ben Ramsey
2022-03-27 22:50:14 -05:00
parent cc4df59001
commit 5b98a2fee1
10 changed files with 72 additions and 37 deletions
+16
View File
@@ -0,0 +1,16 @@
.. _reference.timebasedinterface:
==================
TimeBasedInterface
==================
.. php:namespace:: Ramsey\Uuid
.. php:interface:: TimeBasedInterface
Defines functionality for time-based UUIDs.
.. php:method:: getDateTime()
:returns: A date object representing the timestamp associated with the UUID.
:returntype: ``\DateTimeInterface``