mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-16 16:17:43 +03:00
Introduce TimeBasedInterface for UUIDs derived from time
This commit is contained in:
@@ -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``
|
||||
Reference in New Issue
Block a user